Tom Hughes
58b63dbc3d
Escape ampersands in URLs when exporting HTML for embedding
2010-09-10 17:37:35 +01:00
Tom Hughes
d28457b005
Update to OpenLayers 2.10
2010-09-09 16:27:50 +01:00
Tom Hughes
d8006be822
Use the keyid to identify the layer to using when exporting to an
...
embeddable map. Fixes #3221 .
2010-09-08 17:13:54 +01:00
Tom Hughes
f07819d81a
Rework application configuration
...
Use a preinitializer to load the settings from application.yml so
that they are available as early as possible. All settings can also
be overridden using environment variables.
The ad-hoc settins in environment.rb are then moved to this new
system so we have one consistent location for settings.
2010-08-04 22:06:05 +01:00
Tom Hughes
30ae9fb928
Fix broken </div> tag.
2010-03-06 11:37:38 +00:00
Tom Hughes
aac4776dd1
When the area selected for export is too large to be downloaded from
...
the API then disable the export button and display a message rather
than forcibly disabling that export option. Closes #1996 .
2010-02-26 14:16:04 +00:00
Tom Hughes
e0cbfe24a5
Escape non-ascii characters in exported HTML. Closes #2075 .
2009-10-27 00:59:38 +00:00
Tom Hughes
2e2f212472
Rename views to rails 2 style names.
2009-06-09 20:50:14 +00:00
Tom Hughes
a8c7d1c4ce
Don't use single quotes to wrap translated strings in javascript in case
...
the translation contains an apostrophe. Closes #1942 .
2009-06-09 18:59:44 +00:00
Ævar Arnfjörð Bjarmason
3622db1665
Don't hardcode bbox size 0.25, use APP_CONFIG['max_request_area'] instead
2009-06-06 18:13:11 +00:00
Andy Allan
1db6b392a6
i18n the export tab
2009-05-31 11:40:16 +00:00
Tom Hughes
3d906fe8c6
Merge 15165:15373 from trunk.
2009-05-31 11:32:32 +00:00
Tom Hughes
9e2f4a1638
Enable JPEG export from Osmarender again.
2008-07-22 08:53:34 +00:00
Tom Hughes
911e030911
Disable JPEG exports from Osmarender as they are not currently
...
supported by the MapOf call in the new tiles@home server.
2008-07-16 13:21:16 +00:00
Tom Hughes
e758e520e7
Make the "larger map" link on an HTML export point at the right layer.
2008-05-19 10:00:52 +00:00
Tom Hughes
667b1fca45
Include the marker on the larger map link during HTML export.
2008-05-01 08:04:34 +00:00
Christopher Schmidt
8a6cfefa07
larger map link is now raw html for better google-linking capability, rather
...
than generated by javascript
2008-05-01 00:00:20 +00:00
Tom Hughes
209dece7d3
Tidy things up a bit.
2008-04-30 08:44:57 +00:00
Christopher Schmidt
0c061a6f65
add support for showing osmarender layer instead of mapnik layer, style the vector layer so it looks like a marker.
2008-04-30 03:11:47 +00:00
Christopher Schmidt
f67ffb6ebb
add support for setting a specific marker location on the map.
2008-04-30 02:50:53 +00:00
Tom Hughes
f2ae082a1f
Cosmetic tidy up, and fix hardcoding of server name.
2008-04-29 17:11:22 +00:00
Christopher Schmidt
57050172c8
round numbers
2008-04-29 14:41:59 +00:00
Christopher Schmidt
5ff86db265
add support for HTML export to export tabk
2008-04-29 13:57:26 +00:00
Christopher Schmidt
2d9282d864
start of work on UI
2008-04-29 13:19:24 +00:00
Tom Hughes
8c98f1a6c4
Tweak export startup to stop silly image sizes being reported.
2008-04-21 08:14:15 +00:00
Tom Hughes
9ef6528d8e
Make sure the export button is enabled if we switch away from mapnik
...
export, and that the mapnik image size is updated correctly.
2008-04-20 10:31:03 +00:00
Tom Hughes
48918f19dc
Close down export properly when the sidebar is closed.
2008-04-20 08:38:47 +00:00
Tom Hughes
7a9e92386e
Rework export to not rely on ctrl+drag to select an area.
2008-04-19 16:58:03 +00:00
Tom Hughes
7ebb29d195
Don't call formatChanged() when disabling XML output as it has side effects.
2008-04-19 10:48:48 +00:00
Tom Hughes
9bae22aacb
Validate the mapnik scale on a zoom change.
2008-04-19 10:45:28 +00:00
Tom Hughes
7fa1041340
Display the size of the image mapnik will produce.
2008-04-19 10:40:37 +00:00
Tom Hughes
8815700a77
Rework AJAX stuff to work on IE.
2008-04-18 22:12:50 +00:00
Tom Hughes
2f925b9197
Remove spurious comma that was breaking Safari.
2008-04-18 17:33:09 +00:00
Tom Hughes
836f46f9f7
Fix broken close tag that was breaking Opera.
2008-04-18 17:32:47 +00:00
Tom Hughes
b7d8360a27
Default export format based on selected base layer.
2008-04-17 23:10:35 +00:00
Tom Hughes
083cb994d7
Fill in license details.
2008-04-17 23:05:57 +00:00
Tom Hughes
599c48227a
Ajaxify the export tab.
2008-04-16 23:45:16 +00:00
Tom Hughes
d13ef1db02
More work on export tab.
2008-04-14 23:46:10 +00:00
Tom Hughes
2c66491e00
Reflect any changes made to the bounds in the map.
2008-04-09 18:14:30 +00:00
Tom Hughes
f1c0834c5c
Disable OSM export when the area is too large.
2008-04-08 18:38:43 +00:00
Tom Hughes
1df50231fa
Commit initial work on export tab.
2008-04-07 23:23:15 +00:00