[OpenLayers-Users] Simple OpenLayers.Size question

Eric Lemoine eric.lemoine at camptocamp.com
Thu Dec 15 12:33:57 EST 2011


On Thursday, December 15, 2011, laurentK2 <lboileau at k2geospatial.com> wrote:
> Hello,
>
> I'm looking to use an anchored popup and am wondering if there's a
specific
> unit that should go in a OpenLayers.Size. The documentation and source
code
> don't seem to mention any. Could I store an integer that represents an
area
> defined by pixels (Ex: 20 pixels wide by 20 pixels tall) or is the unit
> dependant of map units (degrees, meters, etc)?

I don't think we use/expect anything else than pixels in Size objects.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111215/5b51fd32/attachment.html


More information about the Users mailing list