We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
GIS API
GIS Import | Export
GIS REST
GIS Tools
Utilities

Slippy Viewport

Projects the boundary of a given Viewport to the World XY plane and calculates a good Zoom level for use with tile-based map components.

Inputs

NameIDDescriptionType
Named ViewportviewProvide the name of the viewport to be used.Text

Outputs

NameIDDescriptionType
Viewport BoundaryboundaryThe boundary of the given viewport projected onto the World XY planeCurve
Zoom LevelzoomA good zoom level to be used with a Raster API componenet given the extents of viewport boundary. Max zoom level is set to 21Number

Video Tutorials

Site design © Robin Rodricks.   Heron and associated data © 2024 Brian Washburn.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service