Tom Hughes
e2cb47f1ae
Fix some issues with the new edit menu code
...
Make sure that the arrow icons are always displayed, and that menus
are aligned in the requested way.
2012-04-23 20:59:27 +01:00
Tom MacWright
c45dbdae36
Rework the edit tab and it's associated drop down menu
...
This changes the behavior of the editing tabs in three places. Instead
of the current hovering behavior, you can click on the arrow and get the
drop-down menu. Any click outside that on the page will deactivate the
menu, following the UI paradigm of most desktop environments.
This also simplifies the javascript code significantly.
2012-04-23 20:59:26 +01:00
Tom Hughes
bd14832cb5
Rearrange layer switcher assets
2012-03-28 21:18:47 +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 Hughes
5e4357dd14
Only reload the preview if the content has changed
2012-03-17 16:36:58 +00:00
Tom Hughes
eb789dbf75
Show an animation while a preview is loading
2012-03-17 16:36:58 +00:00
Tom Hughes
561f2f694a
Add preview functionality to rich text controls
2012-03-17 16:36:57 +00:00
Tom Hughes
b6163f0fc2
Grow text areas automatically in response to input
2012-03-17 16:36:57 +00: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 MacWright
d13f0b7088
Remove dead code
2012-03-13 08:46:58 +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
bdf476d8cf
Make sure we don't attach alert handler multiple times
...
Before adding a "not zoomed in enough" alert handler, make sure any
existing handler is removed. Fixes #17 .
2012-02-21 19:22:01 +00:00
Tom MacWright
eb8efa0a4b
Fixes and cleanups suggested by JSHint
2012-02-01 00:25:10 +00:00
Tom Hughes
ae9131bc8e
Allow OpenStreetMap.js to work with an unpatched OpenLayers
2011-12-31 00:25:04 +00:00
Tom Hughes
4fb53e9619
Fix OpenLayers image URL rewriting
2011-12-30 19:05:40 +00:00
Tom Hughes
da78800060
Patch OpenLayers to make URL rewriting easier
...
This provides a single routine that can be overridden to rewrite
all image URLs to use the asset pipeine.
2011-12-30 18:32:53 +00:00
Tom Hughes
90f119d976
Fix loading of blank tiles on some browsers to use the asset pipeline
2011-12-19 17:56:00 +00:00
Tom Hughes
13289d4041
Switch from Prototype to jQuery
2011-11-26 00:22:31 +00:00
Tom Hughes
4368ba9f11
Wrap the OpenLayers.Util.createDiv routine
2011-11-26 00:15:12 +00:00
Tom Hughes
5275794aec
Wrap another OpenLayers image creation routine
2011-11-26 00:07:45 +00:00
Tom Hughes
61e756c625
Handle openlayers.js as a template
2011-11-25 23:14:16 +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
716262f211
Serve OpenLayers through the asset pipeline
2011-11-25 20:07:50 +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
Matt Amos
64030a40ac
Replace @ with ~ in the shortlink
...
This should help Twitter's horribly broken URL detection algorithm
not screw up shortlinks from OSM.
2011-11-24 22:27:16 +00:00
Tom Hughes
c61d24f08e
Use asset_path to find the arrow icon
2011-11-15 10:48:30 +00:00
Tom Hughes
1f383dcbd7
Serve swfobject via the assets pipeline
2011-11-14 09:42:56 +00:00
Tom Hughes
8acdba8bdd
Upgrade to rails 3.1.0
2011-11-14 09:42:52 +00:00