John Firebaugh
a125ee829a
Include object in share link
2013-08-05 08:32:42 -07:00
Tom MacWright
64f5b3f511
Refactoring 4 life
2013-07-18 10:40:24 -07:00
John Firebaugh
33aa0a6e45
Rename to L.OSM.Layers and continue implementation
2013-07-18 10:37:45 -07:00
Tom MacWright
7c06f2b47e
More refactoring of map js
2013-07-18 10:37:16 -07:00
John Firebaugh
d1ee7de08b
Restore attribution on main map
2013-07-18 10:36:08 -07:00
Tom MacWright
8c788ce387
Add attrib
2013-07-18 10:34:18 -07:00
Tom MacWright
c4f9654891
Refactor mapLayers to create layers up front
2013-07-18 10:34:18 -07:00
John Firebaugh
4563244fd1
Clean up some of the map JS, reduce scope of globals
2013-07-18 10:34:17 -07:00
Tom MacWright
7d84b81fd9
Remove unnecessary abstraction around rectangles
2013-07-18 10:31:20 -07:00
Tom MacWright
73bbee5df9
Add leaflet-locate control, invisible currently.
2013-07-18 10:31:19 -07:00
Tom MacWright
5aea67a71f
Remove pan and zoom controls
2013-07-18 10:31:19 -07:00
Tom Hughes
2119911aa5
Tone down the highlighting of Nominatim search results
2013-07-18 15:29:01 +01:00
Tom Hughes
168a9fc327
Replace various Leaflet extensions with new builtin methods
2013-06-27 21:53:26 +01:00
Tom Hughes
d1c9009019
Make translated map layer names work
...
Delay initialising the layers array until the first map is created
so that we can be sure that I18n.locale has been initialised.
2013-05-25 00:21:19 +01:00
Martin Raifer
74448434c9
Improve display of objects on data browser maps
...
Previously, tagged nodes of ways were shown on the browse/way and
browse/relation pages.
Now, nodes are not shown on browse/way pages and only nodes which are
direct members of the relation are shown on browse/relation pages.
2013-05-14 21:43:55 +01:00
Tom Hughes
a7e67846a7
Persist the state of the notes layer
2013-05-08 21:04:41 +01:00
Tom Hughes
899dab08f9
Cancel any existing object load before starting a new one
2013-04-27 11:15:32 +01:00
Tom Hughes
b1308a87be
Show OSM objects for Nominatim search results as map overlays
2013-04-26 00:39:26 +01:00
Tom Hughes
f612f573f9
Wrap longitude values explicitly
...
Leaflet 0.5 no longer wraps longitude values, so we need to do it.
2013-01-22 22:29:50 +00:00
Tom Hughes
6bde69a840
Update to Leaflet 0.5
2013-01-17 17:44:10 +00:00
John Firebaugh
05eba79008
Move "Browse Map Data" to layers control
...
Fixes https://trac.openstreetmap.org/ticket/4680
2012-11-29 18:23:41 +00:00
Tom Hughes
8e27c78d3c
Fall back to the mapnik layer
...
If there are no known layers in the layers string, then fall back to
showing the standard mapnik layer.
2012-11-23 19:00:51 +00:00
Tom Hughes
0c2d538aa7
Use the small zoom control in the small screen layout
2012-11-22 12:54:37 +00:00
Tom Hughes
f6ac8ffbab
Tidy up
2012-11-22 12:35:49 +00:00
Tom Hughes
62ba6b50ba
Replace OSM markers with recolured versions of the Leaflet marker
2012-11-21 18:43:20 +00:00
John Firebaugh
9bd48640ad
Move popup anchor definition to icon
2012-11-09 15:57:31 -08:00
John Firebaugh
f913b7d8a5
Use nicer markers
2012-11-09 13:31:29 -08:00
John Firebaugh
1927bc6ca8
Fix user map icon and offset
2012-11-09 12:59:31 -08:00
John Firebaugh
648f232596
Inline map.js marker functions
2012-11-09 12:59:31 -08:00
John Firebaugh
66f0a4da04
Fix L.Icon.Default.imagePath in production
2012-11-09 12:59:30 -08:00
John Firebaugh
6f793e1b21
Pan/zoom controls that look like the OL ones
2012-11-09 12:59:28 -08:00
John Firebaugh
babefbba6c
IE compatibility
2012-11-09 12:59:28 -08:00
John Firebaugh
64eec2a5d0
Use L.OSM tile classes
2012-11-09 12:59:28 -08:00
John Firebaugh
030b7c4052
Update leaflet-osm
2012-11-09 12:59:28 -08:00
John Firebaugh
19bac47e5f
Don't show map controls on browse pages
2012-11-09 12:59:27 -08:00
John Firebaugh
30ad58c01f
Port to Leaflet
2012-11-09 12:59:27 -08:00
John Firebaugh
24c0bb1c88
Use proj/unproj consistently
2012-10-13 12:58:18 +01:00
John Firebaugh
4f552430b4
Remove unnecessary delete statement
2012-10-05 19:37:21 +01:00
John Firebaugh
e4ef507c5c
Extract OSM.apiUrl
2012-10-05 15:26:54 +01:00
John Firebaugh
b5ca3b12d1
Remove unused function
2012-10-05 15:00:32 +01:00
John Firebaugh
3b1f455dd9
Extract layer configuration to map.js
2012-09-16 16:25:33 +01:00
John Firebaugh
7ff77d9d3d
Trigger map.updateSize() via a custom event
2012-09-07 13:04:48 -07:00
Tom Hughes
7ad58d1411
Switch to using i18n-js for handling translations in javascript
2012-08-27 18:00:03 +01:00
Tom MacWright
b812c070f1
Replace standard PanZoomBar control with new SimplePanZoom control
2012-08-08 18:20:02 +01:00
Tom Hughes
2a11b9682c
Use a custom OpenLayers theme
...
Instead of having a customised copy of the default theme in the
app assets, use a custom theme that pulls in the default one and
then overrides things as needed.
2012-08-02 19:15:12 +01:00
Sarah Hoffmann
d97d3f76a6
Replace PanZoom control with Zoom control for small maps
...
In OpenLayers 2.12 the event handling of PanZoom and PanZoomBar clashes
with the result that the zoom level changes by two steps every time one
of the zoom buttons is pressed. Using the Zoom control fixes this issue.
2012-07-16 18:05:02 +01:00
Tom Hughes
efb80f8143
Update offset for marker icon to accurately position it
2012-07-12 21:02:18 +01:00
Tom Hughes
8e1b0b6908
Remove obsolete maxExtent from marker layer
2012-07-12 19:49:27 +01:00
Tom Hughes
b0453833b1
Replace use of Layer.GML with Layer.Vector
2012-06-28 18:18:42 +01:00
Tom Hughes
bad28a6478
Update OpenLayers to 2.12
2012-06-28 10:48:56 +01:00