Topic: Grid Overlay

Is there an API for adding a grid overlay? If so does it change with zooming in and out?

Re: Grid Overlay

Hello.

The easiest way to set the grid texture, into the OnlineMapsTile.overlayBackTexture field for all tiles:
http://infinity-code.com/doxygen/online … 6e065be26c

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Grid Overlay

Thanks Alex!

How do I tell the size in miles for each tile? I'm using 512x512 when I create the textures.

Re: Grid Overlay

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

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: Grid Overlay

Awesome! Thanks Much!