Topic: Configurable zoom range

Our application is using NearMap, which allows for a maximum zoom of 21 https://docs.nearmap.com/pages/viewpage … =11206698. I can go to the OnlineMaps.cs class and override the MAXZOOM constant, but I don't think it is maintainable when applying new OnlineMaps updates in the future. Is it possible for you to provide a way to configure the min and max zoom levels that a map provider supports?

Re: Configurable zoom range

Hello.

Added compilation directives ONLINEMAPS_MAXZOOM_23 (22, 21), which allows you to specify the required maximum zoom.
The next version of Online Maps will contain this.

Kind Regards,
Infinity Code Team.

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

Re: Configurable zoom range

Thank you, that sounds like what I need. I am not familiar with how compilation directives work, however. Are we going to Project Settings > Player and put "ONLINEMAPS_MAXZOOM_23" to the "Scripting Define Symbols" field?

Re: Configurable zoom range

Almost, you need ONLINEMAPS_MAXZOOM_21.

Kind Regards,
Infinity Code Team.

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