Hi Joanne,
Sorry for the very late response. Can you please try the GITHUB at https://github.com/Azure/react-azure-maps and ask any questions there? We have folks focusing on Azure Maps with React in that github.
Sincere thanks,
IoTGirl
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am working with a CRA React project. In a React component, I have tried to import and load an external Azure Map standalone script like azure-maps-geolocation-control which adds on to the Azure Map namespace (atlas). In this component I have imported Azure Map SDK like azure-maps-control which works fine to render the map and supplies the namespace.
Under map ready event, I have tried to instantiate GeolocationControl object but seems like the script cannot read the atlas namespace. This external script is placed in public folder and dynamically placed in <head> of index.html .
How to make the script link to Azure Map SDK namespace, in a React component? Thank you
Hi Joanne,
Sorry for the very late response. Can you please try the GITHUB at https://github.com/Azure/react-azure-maps and ask any questions there? We have folks focusing on Azure Maps with React in that github.
Sincere thanks,
IoTGirl