Commit Graph

12 Commits

Author SHA1 Message Date
fdda5bf1bd limit zoom on search to the level that shows all portals - prevents being zoomed in too far since changing most map layers to suppot zoom 21 2014-06-03 13:45:41 +01:00
282a33f033 Merge pull request #534 from vita10gy/search
Feedback when geosearch finds nothing
2013-10-27 09:14:37 -07:00
72620ed668 got rid of redundant code 2013-10-02 23:40:51 +02:00
1d2eec7f80 Feedback when geosearch finds nothing
Subtle, but it's driven me crazy in the past where seemingly reasonable
searches do nothing and "worked - but found nothing" and "maybe it's
just taking a second to work" aren't apparent.
2013-09-03 18:42:45 -07:00
e7a296b2b3 removed wrong semicolon 2013-05-24 16:03:24 +02:00
9ce25e7e57 Initial commit of a working Search View. 2013-05-24 15:52:25 +10:00
593ec57633 Set maxZoom = 13 for desktop locate button too. 2013-05-09 01:55:36 +10:00
4f26a6e68d Add current location button to geo search 2013-04-13 00:33:46 -05:00
1a8d15d1c5 Add 2 new hooks: geoSearch and nicknameClicked
For both of them returning false will interupt the default action

'geoSearch' is called when something is entered in the search box.
The argument is the string entered in the search box

'nicknameClicked' is called when a nickname is cliked.
The argument is an object with 2 properties:
 - 'event' contain the standard event object
 - 'nickname' contain the nick of the user
2013-04-09 22:40:34 +02:00
3f134542cb switch to map on geosearch success (fixes #410) 2013-03-08 10:36:33 +01:00
290ce87e72 fix geosearch with non-ascii chars (fixes #20) 2013-02-08 00:09:29 +01:00
a07ee0cc3d so others may contribute 2013-02-01 13:11:14 +01:00