nativescript-mapbox icon indicating copy to clipboard operation
nativescript-mapbox copied to clipboard

implemented minZoom/maxZoom for Android and iOS

Open felixkrautschuk opened this issue 4 years ago • 2 comments

felixkrautschuk avatar May 27 '20 10:05 felixkrautschuk

Thank you for this. I apologize it's taken me so long to get to it.

The plan for nativescript-mapbox is to move it towards being API compatible to the degree possible with mapbox-gl-js.

I was wondering if I could trouble you to update the API calls to match their equivalents in mapbox-gl-js?

e.g. https://docs.mapbox.com/mapbox-gl-js/api/map/#map#setmaxzoom

Yermo avatar Jun 12 '20 17:06 Yermo

@Yermo I renamed the minZoom/maxZoom methods according the mapbox-gl-js namings, so

setMaxZoomLevel -> setMaxZoom setMinZoomLevel -> setMinZoom getMaxZoomLevel -> getMaxZoom getMinZoomLevel -> getMinZoom

felixkrautschuk avatar Jun 13 '20 18:06 felixkrautschuk