Hi!
I'm having some trouble modifying my code to make it compatible with the latest version of OpenAIP
Until now I have been using Leaflet to display the maps. If I try to continue using Leaflet in png mode I get many 429 errors when zooming or moving the map (too many retries error) and some CORS problems too.
If I try to do it in vector mode, Leaflet is not compatible and if I use the Leaflet.VectorTileLayer plugin I have realized that it is not compatible with the styling necessary to display the lines and they all come out blue and of the same thickness.
subdomains: '0123',
key: '.......,
maxZoom: 14
};
var openmaptilesPbfLayer = L.vectorGrid.protobuf(openmaptilesUrl, openmaptilesVectorTileOptions).addTo(map);
I have tried other plugins but I find that all the ones I see need tokens and are paid. I can't find anything freeware.
Any suggestions or examples that I can use?
I only need to display the OpenAIP layer on top of an Openstreetmap.
It doesn't matter that it's not with Leaflet, because I can modify the code to the new libraries. But it has to be freeware.
Thanks & Regards!