thx, but back to my question :) can i use it like: coords: getLonLatFromPixel(e.xy.x, e.xy.y) because it doesn´t work like that
________________________________ Von: [EMAIL PROTECTED] im Auftrag von Bart van den Eijnden (OSGIS) Gesendet: Mo 10.12.2007 13:59 An: Christopher Schmidt Cc: [email protected] Betreff: Re: [OpenLayers-Users] different coords format Hi Chris, thanks for the clarification, so why is it labeled as an API Method if it is meant to be internal? Best regards, Bart -- Bart van den Eijnden OSGIS, Open Source GIS http://www.osgis.nl <http://www.osgis.nl/> --------- Oorspronkelijk bericht -------- Van: Christopher Schmidt <[EMAIL PROTECTED]> Naar: Bart van den Eijnden OSGIS <[EMAIL PROTECTED]> Cc: R. Ortner <[EMAIL PROTECTED]>, [email protected] Onderwerp: Re: [OpenLayers-Users] different coords format Datum: 10/12/07 10:56 > On Mon, Dec 10, 2007 at 01:19:26PM +0100, Bart van den Eijnden (OSGIS) wrote: > > You can use the function getLonLatFromViewPortPx on the map object. > > actually, getLonLatFromPixel is the right function to use here: > "FromViewPortPx" is a more internal function that we wrap up with > getLatLonFromPixel. > > Regards, > -- > Christopher Schmidt > MetaCarta > > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
