Comments (2)
Here is the problem:
onMarkerClick(evt) {
// TODO: BUG: https://github.com/heremaps/maps-api-for-javascript-examples/issues/38
let position = evt.target.getPosition() // this line will cause the error
// Because original target is inside of evt.target.getData()
const target = evt.target.getData();
// Works like a charm
position = target.getPosition();
// ...
}
from maps-api-for-javascript-examples.
Fixed in #39
from maps-api-for-javascript-examples.
Related Issues (20)
- Customize marker with sprite image HOT 2
- CORS Blocks on Localhost while Developing Figma Plugin HOT 6
- DomMarker does not work in Shadow DOM HOT 2
- [Issue] Opening an Infobubble on a Mouse Click HOT 4
- Is there a way to identify road type (dirt road, functional class type) on the map? HOT 2
- avoid multiple areas in v8 route api HOT 2
- HERE Maps API JS : How to change the date format in incident popup? HOT 1
- cannot install simple-element-resize-detector HOT 2
- Tangram: Style: error compiling program
- how drawing polygon HOT 2
- TypeScript definition errors HOT 3
- Delay to open 10000+ data, page stuck and alert display to exit page or wait on chrome HOT 2
- Polyline Arrows not showing
- Are map views still available when using themed via Map Style Editor map? HOT 2
- Is there any way to change the width of the Infobubble? HOT 2
- Is there any specific time to live for routeHandle? HOT 1
- Map Editor Style / HARP Engine with UI and InfoBubbles HOT 2
- HereMap
- Page scroll does not work in Firefox when zooming is diabled HOT 3
- Map opened through html <a> tag is not displaying marker at given lattitude and longitude.
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-api-for-javascript-examples.