Messtone Devices Enables Azure Route with Python Upload module as so: Blame aiohttp==3.6.0 Azure Maps Web use the Globally hosted CDN version HTML <Iink rel=”stylesheet” href=”https://atlas.microsoft.com/sdk/javascript/mapcontrol/3/atlas.min.css” type=”text/css”><script src=”https://atlas.microsoft.com/sdk/javascript/mapcontrol/3/atlas.min.js”></script> npm install azure-map-comtrol Then add reference to the Azure Maps HTML <link rel=”stylesheet” href=”https://atlas.microsoft.com/sdk/javascript/mapcontrol/3/atlas.min.css” type=”text/css”/> Javascript import* as atlas from ‘azure-maps-control’; HTML <style>html,body{margin:0;}#myMap{height:100vh;width:100vw;}</script> HTML <body onload=”InitMap( )”><div I’d=”myMap”></div></body> HTML <script type=”text/javascript”>function InitMap( ){var map=new atlas.Map(‘myMap’,{center:[-122.33,47.6],zoom:12,language:’en-US’,authOptions:{authType:’subscriptionKey’,subscriptionKey:'<Messtone LLC Azure Maps Key>’}});}</script> load the module Python import time import aiohttp import urllib.parse from IPython.display import Image,display

Leave a comment