Commit graph

18 commits

Author SHA1 Message Date
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
Renamed from app/assets/javascripts/map.js (Browse further)