Topic: Custom REST API

Hello,

I'm building an Unity app with custom maps. Unfortunately the API that's already in place doesn't seem to conform to any standards. Is there an easy way to provide a mapping of current zoom level, x coordinate and y coordinate to a custom range. For example the zoom levels in our solution range from 0 to 5.

Re: Custom REST API

Hello.

OnlineMaps.positionRange
http://infinity-code.com/doxygen/online … 43c1fc3e6f

OnlineMaps.zoomRange
http://infinity-code.com/doxygen/online … 9d10ccb232

Zoom levels (0-2) are not used.

Kind Regards,
Infinity Code Team.

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

Re: Custom REST API

Thanks for the quick answer!

What I meant is that we need a different coordinate transformation than the default Mercat. Here's the one our API is based on: http://epsg.io/3879

Also, the zoom levels are custom and we can't really affect the API any more. Is there an easy way to change the default range of [3, 20] to [0, 5]?

Re: Custom REST API

Unfortunately, I did not understand you.
Online Maps works in the Mercator projection.
We have API to convert the geographical coordinates to tile coordinates, and vice versa.
If you need to convert coordinates to another system, you need to do it yourself.

No. You can not change the range of zoom levels.

Kind Regards,
Infinity Code Team.

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