1

enter image description here

I just create a new map with leaflet and GoogleMutan with this three CDN libriaries:

1) maps.googleapis.com/maps/api/js?key=MYKEY" async defer

2) unpkg.com/[email protected]/dist/leaflet-src.js

3) unpkg.com/leaflet.gridlayer.googlemutant@latest/Leaflet.GoogleMutant.js

Why the map shows me numbers above of the tiles? there some conflict from the cdn libraries?

1 Answer 1

5

That's because you didn't create a new map using Leaflet + Leaflet.GoogleMutant. That's because you copy-pasted the code from https://ivansanchez.gitlab.io/Leaflet.GridLayer.GoogleMutant/demo.html without bothering to read it first.

Don't copy-paste code blindly. Read it, and understand what it does. In this particular case, search for and identify the map layer which is displaying the tile numbers.

1
  • Relevant username
    – ffflabs
    Mar 8, 2017 at 23:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.