Cool! And it even adjusts correctly when you pan the mercator projection north to south. I wonder if this is some new code specific to the OSM site or a new OpenLayers release. I've been looking for a scale bar control that works for more projections in general rather than just trivial cases like TM for some of my own projects.
Steve Xan wrote: > I see that recently (today), OSM incorporate scale in its maps.... great > news... > > Xan. > > En/na Xan ha escrit: >> En/na Donald Campbell II ha escrit: >>> I don't know if you meant literally on the front page or if you meant >>> on top of the mapnik rendering. >>> >>> If you use the Static Map API shown here it has one. >>> http://pafciu17.dev.openstreetmap.org/ >>> >>> If you look at the examples you can change the scalebar's position >>> and units. >>> -Don. >>> >>> Hi, >>> Is it possible to put an graphical scale (or numerical) in the OSM >>> maps >>> main web page? Nop Mapnik nop OSMapper do it. I think it were >>> useful. >>> Regards, >>> Xan. >>> >> Thanks a lot, both of you. >> I mean that it could be included in the main page of OSM. >> >> Xan. >> >> _______________________________________________ >> newbies mailing list >> [email protected] >> http://lists.openstreetmap.org/listinfo/newbies > > > _______________________________________________ > newbies mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/newbies _______________________________________________ newbies mailing list [email protected] http://lists.openstreetmap.org/listinfo/newbies

