Closed PitWenkin closed 1 year ago
This parameter already exists with the name : fitToExtent
example :
map18.addMyMapLayer({ mapId: '0416ef680fbe4cdaa2d8009262d1127c', fitToExtent: false });
I did not find any documentation for addMyMapLayer
, is there one anywhere?
Most links on https://apiv4.geoportail.lu/ and https://apiv3.geoportail.lu/ are dead …
Documentation about addMyMapLayer is available here : https://apiv3.geoportail.lu/proj/1.0/build/apidoc/lux.Map.html#addMyMapLayer and here : https://apiv4.geoportail.lu/proj/1.0/build/apidoc/module-map-Map.html#addMyMapLayer
Sorry is was blind in the apiv3 docu, but in the apiv4 there are no properties under options
Thanks. The documentation is now ok for v4.
Is there a way to include the
fit: false
option inaddMyMapLayer
?It exists for
addGeoJSON
,addGeoJsonObject
,addGPX
, andaddKML
and at least foraddKML
it seems to work as described.