[OpenLayers-Users] Want to change the Unit
Eric Lemoine
eric.c2c at gmail.com
Sat Jul 14 15:21:35 EDT 2007
On 7/14/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> On Sat, Jul 14, 2007 at 04:55:19PM +0200, Eric Lemoine wrote:
> > Hi
> >
> > On 7/13/07, pforprasad <prasad.choudhary at gmail.com> wrote:
> > >
> > > Hello all,
> > >
> > > I am new to OL exprimenting with it for some project, I want to show scale
> > > on map and need to change the units for map, will some one help me to
> > > understand properties like resolutions, scale and BoundingBox if i change
> > > the scale to 'ft' or 'mt'
> >
> > Currently, there's no control for OL to show the current scale. You'll
> > have to write your own and use map.getScale() to actually access the
> > current scale value.
>
> Actually, there is an OpenLayers.Control.Scale -- it's not a scalebar,
> just a scale value, but it does exist.
Had forgotten about that one :-) Thx for correcting me Chris...
--
Eric
More information about the Users
mailing list