How to use L.supermap.initMap(url) for Leaflet; Initialize the 4490 map
115EXP 2024.08.14
As title.

1 Answer

A, directly after the url "? token=... ” B, use the SecurityManager, refer to the below code: var url = 'http://xxx:8090/iserver/services/map-testdata/rest/maps/testdata'; var token ='xxxx' L.supermap.SecurityManager.registerToken(url,token);
242EXP 2024.08.14
...