>
> > In any case: We providedd getLonLatFromPixel as the main 'API' property
> > > so that people wouldn't have to use a funky-named property: it's a
> > > wrapper around getLonLatFromViewPortPx.
> > >
> >
> > Just a suggestion. Considering that the "getLonLatFromPixel " is a
> > wrapper around "g
On Wed, Apr 09, 2008 at 08:51:32PM -0300, Pedro Simonetti Garcia wrote:
>
> In any case: We providedd getLonLatFromPixel as the main 'API' property
> > so that people wouldn't have to use a funky-named property: it's a
> > wrapper around getLonLatFromViewPortPx.
> >
>
> Just a suggestion. Conside
>
> >
> > After some investigations, I found how to fix it.
> >
> > I've changed the piece of the code where it calculates the coordinates,
> > from:
> >
> > var lonlat = map.getLonLatFromLayerPx(evt.xy);
> >
> > To:
> >
> > var lonlat = map.getLonLatFromViewPortPx(evt.xy);
> >
> > Now it works
On Tue, Apr 08, 2008 at 07:28:24PM -0700, Pedro Simonetti wrote:
>
> After some investigations, I found how to fix it.
>
> I've changed the piece of the code where it calculates the coordinates,
> from:
>
> var lonlat = map.getLonLatFromLayerPx(evt.xy);
>
> To:
>
> var lonlat = map.getLonL
After some investigations, I found how to fix it.
I've changed the piece of the code where it calculates the coordinates,
from:
var lonlat = map.getLonLatFromLayerPx(evt.xy);
To:
var lonlat = map.getLonLatFromViewPortPx(evt.xy);
Now it works fine.
I'm just wondering, what's the differen
Dear developers,
I'm trying to develop a query feature in my project, but I'm getting a
strange behaviour. I'm using 2 kaMap layers, one raster satellite image, and
one vector shape file.
Please visit:
http://189.52.176.118:8080/teste/?zoom=5&lat=7756661.87151&lon=364887.48481&layers=BT
Then c