Mappa icon indicating copy to clipboard operation
Mappa copied to clipboard

How to access map provider members?

Open nicolassanmar opened this issue 4 years ago • 1 comments

Hi this may be some of a noob question, but i cannot figure out how to access the map object the provider, provides.

For example, im using MaboxGL.

mappa = new Mappa('MapboxGL', mappaKey); myMap = mappa.tileMap(options);

If i wanted to use the Mapbox member isMoving(), how would I be able to do it?

nicolassanmar avatar Apr 05 '20 21:04 nicolassanmar

I have a similiar problem

Following the documentation i discovered that it should be like:

myMap.map.MethodOfMapProvider()

Im using MapBoxGl but i can´t acces this methods. I get the error "Cannot read property 'isMoving' of undefined"

What do i need to do ?

tiagoFonseca1109 avatar Dec 29 '20 01:12 tiagoFonseca1109