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
Tom MacWright
8f4ed911e0
Introduce a new layer switcher
...
The new layer switcher behaves the same as the standard one but
has less cruft and more attractive styling.
2012-03-28 21:06:08 +01:00
Tom MacWright
701325e9ef
Change abstraction level for map functions
...
This commit should have no functional affect. It just changes the
abstraction level of OpenLayers from completely abstracting away
getMapExtent etc, to using OpenLayers's functionality directly but
providing proj and unproj to make projections palatable.
2012-03-14 19:01:45 +00:00
Tom Hughes
b61e414356
Rename "Mapnik" to "Standard" in the layer switcher
2012-03-01 12:18:55 +00:00
Tom Hughes
acbd254e4a
Remove the osmarender map layer
2012-03-01 09:45:41 +00:00
Tom Hughes
477b765c42
Force all OpenLayers resources to load through the asset pipeline
2011-11-25 23:00:30 +00:00
Tom Hughes
759f51a57c
Never disable a base layer
2011-11-25 13:45:25 +00:00
Tom Hughes
8af92f463b
Add attribution to cycle and transport layers
2011-11-25 11:59:17 +00:00
Tom Hughes
9c10e6703e
Add attribution to the MapQuest layer
2011-11-25 11:55:38 +00:00
Tom Hughes
671fe0bb91
Remove the noname layer and add the transport and MapQuest layers
2011-11-25 11:55:12 +00:00
Tom Hughes
c61d24f08e
Use asset_path to find the arrow icon
2011-11-15 10:48:30 +00:00