[OpenLayers-Users] Re: getting a pix point from a latlon?

ulao S_K_U_N_X at yahoo.com
Mon Jun 13 10:15:25 EDT 2011


Wow now I see the centoid is not a pix its a lat lon in a pix? So, x is lat,
and y is lon. Although this is an interesting discovery, I still can not get
it to view port pix. I always get a pix related to the 0,0 of the map. So x
is like 503317 at my current view. How can I get the view port x?  I assumed
getViewPortPxFromLonLat would do that but it gives me the same as getting
the normal pix.


--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/getting-a-pix-point-from-a-latlon-tp6470150p6470326.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list