私はMapLibreとESRIを始めたばかりで、apiキーを認識させることができません。<\/P>
私のapiキーにはbasemapとbasemap stylesの権限があります。 <\/P>
シンプルなチュートリアルコードで<\/P>
<\/P>
apiKey = '<api key>';
@hess8 it really looks like your API key is no good. Check your settings and verify you have the required privilages, expiration date is in the future, and if you have any referrers set to make sure they match your origin.
If I run your URL above with my API key the service responds with 200, so you can use this technique to test your api key
https://basemapstyles-api.arcgis.com/arcgis/rest/services/styles/v2/styles/arcgis/outdoor?f=json&echoToken=false&token=AAPT...
If you do not get it work work can you post the server response JSON here it might provide additional information.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.