How to use GeoportailFrance resources?
Closed this issue · 1 comments
vincent3569 commented
Hi
in README.md, we can read:
Geoportail France
In order to use Geoportail France resources, you need to obtain an api key that allows you to access the resources you need. Pass this api key and the ID of the resource to display to L.tileLayer.provider
in the options:
L.tileLayer.provider('GeoportailFrance', {
variant: '<insert resource ID here>',
apikey: '<insert api key here>'
}).addTo(map);
but I am unable to understand what values have to used for variant: '<insert resource ID here>'
.
is it variant name (parcels, maps, ignMaps, ortho)?
or is it variant ID (CADASTRALPARCELS.PARCELS, GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN-EXPRESS.STANDARD, GEOGRAPHICALGRIDSYSTEMS.MAPS, ORTHOIMAGERY.ORTHOPHOTOS)?
thanks for your help
vincent3569 commented
I found the good way: it is the variant ID, like CADASTRALPARCELS.PARCELS