Ik probeer een openbare tegellaag van mijn AGOL-account te gebruiken in een leaflet-applicatie met de ESRI Leaflet-bibliotheek
Het lukt me niet om deze tegellaag als basiskaart in mijn browser te zien.
Hier vindt u in de bijlage mijn code
1. This is a tile with 7 levels from the 19th (scale : 2256.994440) to the 13th (scale : 144447.644200) of the AGOL scheme
2. The french support says to me that it doesn't matter. It's only the first and the last tile of the levels that are missing.
3. Thanks for the correct function.
I resolved my problems making a tile with the 20 levels of detail of the AGOL scheme.
It seems that leaflet doesn't manage a tile which the first level doesn't match with the first level of the AGOL scheme (scale : 591657550.500000)
I don't have this problem with the ArcGIS API for JS.
you have several issues here:
1. you are trying to load zoom level '16', but you've only got 7 tile levels baked in your actual service.
2. something is wrong with the tiled map service itself. clicking on 'start' or 'end' tile for any of the levels listed here results in a 404 error
3. you should be using 'L.esri.tiledMapLayer', not 'L.esri.Services.mapService' (see example here)
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.