Andy Allan
4dd0a74a3b
Whitespace fixes to various erb files
2019-03-26 20:23:35 +00:00
John Firebaugh
44629832dd
Merge branch 'master' into redesign
...
Conflicts:
vendor/assets/leaflet/leaflet.hash.js
vendor/assets/leaflet/leaflet.js
2013-11-19 09:42:47 -08:00
Tom Hughes
214ff28cd9
Update to Leaflet 0.7
2013-11-18 17:43:46 +00:00
John Firebaugh
6adcce4e5d
Frontpage redesign
2013-10-13 14:45:58 -07:00
John Firebaugh
2aa391e849
Link to sources for bulk downloads
2013-08-05 08:31:45 -07:00
John Firebaugh
438e8be102
Reorganize share/export UI
...
"Image" and "Embeddable HTML" options move to share control.
Only XML export remains, and is now accessed via a sidebar
link rather than the tab bar.
2013-08-05 08:25:52 -07:00
Saman Bemel-Benrud
c3b8897c44
Improve layout and styling of forms
2013-07-08 09:03:17 +01:00
Saman Bemel-Benrud
cf3897c4aa
Form cleanup
2013-07-08 09:03:16 +01:00
Thomas Levine
f5cbc9c4fe
Make the export bar less ugly
2013-07-08 09:03:16 +01:00
Tom MacWright
525c2234b6
Fix export submit pad
2013-07-08 09:03:16 +01:00
Saman Bemel-Benrud
a36f3558dd
Site cleanup
...
I set out to do a quick and dirty typography overhaul to make things
more consistent and a bit cleaner, but I kept running into things I
didn't like, so this lead me down something of a rabbit hole of design
tweaks to the OSM site.
Goals here are to have better content hierarchy, better vertical
rhythm, more consistent UI, cleaner markup with less tables, all while
keeping the basics pretty much intact. There are a lot of things I
didn't touch even though they need to be updated (lots of tables where
stuff shouldn't be tables, mostly).
Basic overview of changes:
I added a new persistent header that helps segment pages. It's now
a lot easier to know what you're looking at. The header has a page
title, a description, plus a submenu of actions.
There is now a pattern of 20px/10px margins and padding for more
rhythm and breathing room throughout the site.
I know there are other problems here or things I've missed - would
love another set of eyes to look over this! I am still getting comfortable
working on the site - it's my first time ever digging into a ruby or rails
so I'm not familiar with the templating language yet.
2013-01-14 21:27:08 +00:00
Tom Hughes
c0b47c0c2a
Serve embedded maps through the assets pipeline
2012-11-23 10:40:26 +00:00
Tom Hughes
3d874a5d61
Use start.html.erb views instead of _sidebar.html.erb partials
2012-08-27 21:28:41 +01:00
John Firebaugh
cc4f133e64
Extract export.js static asset
2012-08-27 18:00:13 +01:00
John Firebaugh
c2333c603e
Reduce interpolation in export/start.js.erb
2012-08-27 18:00:12 +01:00
Tom Hughes
51a00550b4
Remove postscript export option as it doesn't really work
2012-05-30 20:24:53 +01:00
Tom Hughes
13a98cf7eb
Disable the export button until a format is selected
2012-03-15 14:50:43 +00:00
Tom Hughes
dffd5fe2d0
Remove references to mapnik in the export pane
2012-03-01 12:19:44 +00:00
Tom Hughes
23e016e908
Remove osmarender export option
2012-03-01 11:21:59 +00:00
Tom Hughes
95360d9fbf
User getImageLocation to get the URLs for markers
2012-01-04 00:02:34 +00:00
Tom Hughes
1785caa6d0
Remove unused code that triggered a javascript error
2012-01-02 17:13:15 +00:00
Tom Hughes
3b20c87893
Allow the export box to be moved and resized
...
Use the new OpenLayers TransformFeature control to allow any box
drawn by the user to select an export area to be moved or resized
after it is drawn.
2012-01-02 16:34:47 +00:00
Tom Hughes
13289d4041
Switch from Prototype to jQuery
2011-11-26 00:22:31 +00:00
Tom Hughes
db58aa801b
Make sure the maximum scale is set when export is opened
2011-11-24 21:31:54 +00:00
Tom Hughes
2a09670389
Don't escape the license link
2011-11-24 21:21:17 +00:00
Tom Hughes
b25a468e3c
Use <%= instead of <% for block helpers that use concat
2011-11-14 09:42:41 +00:00
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