Topic: Grid Overlay
Is there an API for adding a grid overlay? If so does it change with zooming in and out?
You are not logged in. Please login or register.
Infinity Code Forum → Online Maps Help → Grid Overlay
Is there an API for adding a grid overlay? If so does it change with zooming in and out?
Hello.
The easiest way to set the grid texture, into the OnlineMapsTile.overlayBackTexture field for all tiles:
http://infinity-code.com/doxygen/online … 6e065be26c
Thanks Alex!
How do I tell the size in miles for each tile? I'm using 512x512 when I create the textures.
The tiles have different sizes in miles.
You want to do something like, right?!
https://dryuc24b85zbr.cloudfront.net/te … 0519669808
This is usually done this way:
1. You create one big grid texture.
2. Using MapTiler or another similar service, you divide a large texture into tiles.
3. Import the tiles into the project.
4. Using this example, display your overlay.
https://infinity-code.com/atlas/online- … ample.html
Awesome! Thanks Much!
Infinity Code Forum → Online Maps Help → Grid Overlay
Powered by PunBB, supported by Informer Technologies, Inc.