John Firebaugh
4cf32e0f00
Don't try to route external URLs
2013-10-13 14:46:10 -07:00
John Firebaugh
8530e3eedb
AJAXy changeset history
2013-10-13 14:46:09 -07:00
John Firebaugh
bcc4897ef6
Restore previous map state on popstate
2013-10-13 14:46:09 -07:00
John Firebaugh
c9dcccdc90
Don't route clicks on the dropdown menus
2013-10-13 14:46:09 -07:00
John Firebaugh
32645dd856
Implement closing sidebar
2013-10-13 14:46:09 -07:00
John Firebaugh
6157280d19
Refactor browsed object loading
2013-10-13 14:46:08 -07:00
John Firebaugh
de97f7bfe4
Consolidate layer initialization
2013-10-13 14:46:08 -07:00
John Firebaugh
35458c0096
Convert search to pushState
2013-10-13 14:46:08 -07:00
John Firebaugh
a56d1036d5
pushState based navigation between map-based layouts
2013-10-13 14:46:08 -07:00
John Firebaugh
d414ffc61a
Simplify geolink-related code
...
#zoom/lat/lon hash format is now used consistently.
2013-10-13 14:46:07 -07:00
John Firebaugh
2f076d8f34
Fix "Edit" button when browsing features
2013-10-13 14:46:07 -07:00
John Firebaugh
99775524b3
Fix display of browsed objects on map
2013-10-13 14:45:58 -07:00
John Firebaugh
e8ac6bd5d9
Convert history page to sidebar layout
2013-10-13 14:45:58 -07:00
John Firebaugh
a01195f149
Sidebar work
2013-10-13 14:45:58 -07:00
Tom Hughes
b756c5fd6e
Add HOT layer to the main page
2013-09-23 17:50:06 +01:00
Tom Hughes
4e214746c6
Zoom out when switching to a layer with a lower maxZoom
2013-09-23 17:29:07 +01:00
Tom Hughes
ba8bc1a37f
Stop default layer flickering when notes or data are shown
2013-09-13 16:07:51 +01:00
Tom Hughes
366fb80ddb
Make sure we always have a base layer
2013-09-09 18:30:27 +01:00
Tom Hughes
9bcd049c98
Notice, and act on, changes to the layer parameter in the URL bar
2013-09-09 15:17:09 +01:00
Tom Hughes
b394a4d309
Add support triggering a piwik goal when a map layer is selected
2013-08-24 12:55:29 +01:00
John Firebaugh
8ca781ac75
Add manual fallback for "Start Mapping" button
2013-08-12 13:34:45 -07:00
John Firebaugh
1b2738af80
Update leaflet.locate ( fixes #438 )
2013-08-08 14:26:14 -07:00
John Firebaugh
d31fc7c2f5
Add copyright in attribution control
2013-08-08 10:59:13 +01:00
John Firebaugh
54ded37bf2
Tooltips for map controls
2013-08-07 15:41:32 -07:00
John Firebaugh
c6cde2653b
Refactor search JS
2013-08-06 20:23:06 +01:00
Tom Hughes
feeb135760
Merge remote-tracking branch 'osmlab/map-ui'
2013-08-06 09:05:59 +01:00
John Firebaugh
34e251c225
Disable map key on non-default layers
2013-08-05 16:22:49 -07:00
Martin Raifer
79bdb0ff86
Do not fit map to search result (object) twice
...
When clicking on search results the respective osm object is loaded
asynchronously and afterwards shown on the map. Some objects can take
a few seconds to load however.
If a user already panned/zoomed the map manually during this time then
their actions are reverted because the map fits to the object again.
There is actually no need for this behaviour, because a good geocoder
already returns an appropriate bounding box for the search result.
2013-08-05 18:50:40 +01:00
John Firebaugh
a125ee829a
Include object in share link
2013-08-05 08:32:42 -07:00
John Firebaugh
6618cb9019
Include layers in hash
2013-07-30 15:41:41 -07:00
John Firebaugh
b5800b4c2f
Refactor URL generating methods
2013-07-30 15:41:41 -07:00
John Firebaugh
ce53e510ad
Prefer hash to other methods of determining location
2013-07-30 15:41:41 -07:00
John Firebaugh
57e711d343
Use leaflet-hash
2013-07-30 15:41:40 -07:00
John Firebaugh
3792551f48
RTL support
2013-07-18 10:45:18 -07:00
John Firebaugh
aff23d4b4b
Simplify sidebar/resize
...
Float sidebars left/right and use overflow: hidden.
Fixes a bug on Opera where mouse events propagate to
the map.
2013-07-18 10:45:18 -07:00
John Firebaugh
d9f3ceed95
Fix search
2013-07-18 10:45:17 -07:00
John Firebaugh
4efab66bc6
Fix undefined=undefined in query strings
2013-07-18 10:45:17 -07:00
John Firebaugh
de5a225a95
Use custom zoom control everywhere
2013-07-18 10:45:16 -07:00
John Firebaugh
9d5b81094c
Fix add note
2013-07-18 10:45:16 -07:00
Tom MacWright
c3cdd4b5d7
Add layers code to share link
2013-07-18 10:45:15 -07:00
Tom MacWright
9172695f7f
Implement long URL option, toggling, and labeling for share
2013-07-18 10:45:15 -07:00
John Firebaugh
a6ac56c5e5
Only one pane visible at a time
2013-07-18 10:45:15 -07:00
John Firebaugh
1f4e41f672
Fix export
2013-07-18 10:45:15 -07:00
John Firebaugh
c8f8dbca19
Port map key to new UI
2013-07-18 10:45:14 -07:00
John Firebaugh
eebe1f1d3e
Consistent JavaScript style
2013-07-18 10:45:14 -07:00
John Firebaugh
f1a4669c95
Arrange and group map buttons
2013-07-18 10:45:14 -07:00
John Firebaugh
5e9ab5bc5e
Layers work
2013-07-18 10:45:14 -07:00
John Firebaugh
9d33721630
Complete de-globalization of map
2013-07-18 10:45:13 -07:00
John Firebaugh
ef73cc1f57
Layers work
2013-07-18 10:45:13 -07:00
Tom MacWright
d0ed118ee2
Refactor out 'globals' from more functions
2013-07-18 10:45:13 -07:00