Opened 13 years ago

Closed 10 years ago

Last modified 10 years ago

#51 closed enhancement (fixed)

slippy/tiles map needs a scale

Reported by: tom@… Owned by: mikel_maron@…
Priority: minor Milestone: OSM 0.6
Component: mapnik Version:
Keywords: tiles javascript scale zoom Cc: shaunmcdonald131@…

Description

The tiles interface needs a scale bar. That needs someone to render one out for each zoom level, and for the javascript to switch them as appropriate.

Change History (8)

comment:1 Changed 13 years ago by mikel_maron@…

  • Owner changed from steve@… to mikel_maron@…

comment:2 Changed 13 years ago by mikel_maron@…

related to this, measurement and path tools in the slippy map/editor

comment:3 Changed 11 years ago by osm@…

  • Component changed from website to slippy_map

Moving to proper component.

comment:4 Changed 11 years ago by shaunmcdonald131@…

This is a bit more complex, as the further you get from the equator, the same east/west distance on the ground is bigger in the rendered map, due to the way that the projection used is. Thus this is more complex. Take a look at Google, and you will see the scale change on the same zoom level.

comment:5 Changed 10 years ago by tomhughes

  • Resolution set to fixed
  • Status changed from new to closed

(In [7374]) Add a scale control to the map. Closes #51.

comment:6 Changed 10 years ago by shaunmcdonald131@…

  • Cc shaunmcdonald131@… added

There seems to be a bug in that this does not show up right in Safari.

Probably an OpenLayers? bug.

comment:7 Changed 10 years ago by osm@…

Nor does it work with Gecko 1.9 beta 5 (Epiphany in fact).

comment:8 Changed 10 years ago by shaunmcdonald131@…

Seems that after a restart, Safari has decided to start working. Probably using an old cached version instead.

Note: See TracTickets for help on using tickets.