ESRI map plugin not working / shows solid gray map
-
Hi all, has anyone tried the ESRI map plugin recently? I can get the list of supportedMapTypes from it but the map is just solid gray but with the ESRI link properly in the bottom left hand corner. I know SSL is working because when I switch to the OSM map there are no TLS errors.
I am using the plugin that comes wtih PySide2. I also switched it with the .DLL that came with At 5.15.2 and it does the same thing. I don't see any debug messages or errors from QML.
I tried both with and without my API key.
I'm using PySide2 5.15.2.1 but I also tried copying the .dll from the Qt 5.15.2 MSVC2015 native build and it does the same thing.
Here is my code:
Plugin { id: mapPlugin name: "esri" PluginParameter { name: "esri.token" value: "TOKEN" } Map { id: mapPanel anchors.fill: parent plugin: mapPlugin activeMapType: supportedMapTypes[1] Component.onCompleted: { for (var i=0; i<mapPanel.supportedMapTypes.length; i++) { console.log(i, supportedMapTypes[i].name) } } }
-
Hi all, has anyone tried the ESRI map plugin recently? I can get the list of supportedMapTypes from it but the map is just solid gray but with the ESRI link properly in the bottom left hand corner. I know SSL is working because when I switch to the OSM map there are no TLS errors.
I am using the plugin that comes wtih PySide2. I also switched it with the .DLL that came with At 5.15.2 and it does the same thing. I don't see any debug messages or errors from QML.
I tried both with and without my API key.
I'm using PySide2 5.15.2.1 but I also tried copying the .dll from the Qt 5.15.2 MSVC2015 native build and it does the same thing.
Here is my code:
Plugin { id: mapPlugin name: "esri" PluginParameter { name: "esri.token" value: "TOKEN" } Map { id: mapPanel anchors.fill: parent plugin: mapPlugin activeMapType: supportedMapTypes[1] Component.onCompleted: { for (var i=0; i<mapPanel.supportedMapTypes.length; i++) { console.log(i, supportedMapTypes[i].name) } } }
I had a revelation and decided to look on the Community ESRI support forum. It seems that the token is an OAuth2 token and NOT an API token, so this could be my problem.
Here are the instructions to make it work: https://developers.arcgis.com/documentation/mapping-apis-and-services/security/application-credentials/
I will give it a try tonight and post an update on how it goes.
-
I had a revelation and decided to look on the Community ESRI support forum. It seems that the token is an OAuth2 token and NOT an API token, so this could be my problem.
Here are the instructions to make it work: https://developers.arcgis.com/documentation/mapping-apis-and-services/security/application-credentials/
I will give it a try tonight and post an update on how it goes.
-
@Mlibu Did you figure out how to get ESRI to work?
-
I faced similar problem. Not only esri but also with mapbox and here map. I can only display the OSM and Mapbox GLmap. I am not sure why. I usually use Here map plugin but I found this problem and it occurs on Esri as well. With Mapbox, I got the error: " Problem with tile image" but I got no error for esri. Weird.