Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. var feature = {"geometry": {"type": "Polygon", "coordinates": [[[-231.304241727798, 1682.74422719708], [825.474710540096, 1682.74422719708], [825.474710540096, -272.6456886681], [-231.304241727798, -272.6456886681], [-231.304241727798, 1682.74422719708]]]}, "type": "Feature", "properties": {"id": "7014"}}
  2.  
  3. <SRS>EPSG:4269</SRS>
  4. <SRS>EPSG:4326</SRS>
  5. <SRS>EPSG:900913</SRS>
  6. <LatLonBoundingBox minx="-180" miny="-90" maxx="180" maxy="90" />
  7. <BoundingBox SRS="EPSG:4326"
  8. minx="-180" miny="-90" maxx="180" maxy="90" />
  9. ...
  10. <Layer queryable="0" opaque="0" cascaded="0">
  11. <Name>image</Name>
  12. <SRS>EPSG:4326</SRS>
  13. <SRS>EPSG:4269</SRS>
  14. <SRS>EPSG:900913</SRS>
  15. <LatLonBoundingBox minx="-231.304" miny="-272.646" maxx="825.475" maxy="1682.74" />
  16. <BoundingBox SRS="EPSG:4326"
  17. minx="-231.304" miny="-272.646" maxx="825.475" maxy="1682.74" />
  18.  
  19. lng = ((x + 180) % 360) - 180), lat = ((y + 90) % 180) - 90)
  20.  
  21. lng = ((((x + 180) % 360) + 360) % 360) - 180
  22. lat = ((((y + 90) % 180) + 180) % 180) - 90
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement