[OpenLayers-Users] feature missing location

Christopher Schmidt crschmidt at metacarta.com
Fri Oct 5 09:25:10 EDT 2007


On Fri, Oct 05, 2007 at 01:37:30PM +0200, Eric Lemoine wrote:
> On 10/5/07, Prasad Choudhary <prasad.choudhary at gmail.com> wrote:
> >
> > Hello all,
> >
> > I have change a bit (just lonlat of boston) in openlayer example of draw
> > feature and placed @
> > http://prasad.choudhary.googlepages.com/vector_feature.html. can anyone
> > guess whats wrong with my code so the features are missing the location, but
> > on first zoom change they got right place. I have investigate a lot but
> > found nothing.
> >
> > Please correct me.
> 
> You use units: 'm' in your map options. That looks weird to me.

It's weird, but OpenLayers *only* uses the units when dealing in scale
-- via the scale control, or 'scales'/min/maxScale inputs for
resolutions, no other time.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list