Comments (2)
Digging into the source code it appears this error only occurs when you pass in individual values like fromLatLng(lat, lng). However, if you pass in an array with values [lat, lng] or an object with lat/lng, latitude/longitude, y/x properties, it works as intended. This bug appears to have been there since the initial release in 2018 (6 years) and likely went unnoticed as I don't think I've came across anyone passing in the individual values since it takes less code to just make a simple array. I'll log the bug with the team, but would recommend simply reversing your values, wrapping with square brackets to make them an array and not use the fromLatLng function.
from maps.
Closing this thread as this is not the right place to report issues to any map platform.
For Azure Maps issues, please report issues using one of the following methods in the future:
- Raise it for discussion on the Azure Maps forums: https://learn.microsoft.com/en-us/answers/tags/209/azure-maps
- Report it in the Azure Portal under your Azure Maps resource by raising a support ticket.
from maps.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maps.