javascript - Showing a content Div on hover of a marker in HERE Maps -


i new here maps , need show div on marker hover. have been able put markers icons need show div information. here maps api provide functionality? doc url or piece of code appreciated. note: using here maps js api web.

i have been able find proper mouse on events here map's markers pointerenter , pointerleave , sample code use these events is:

// after initializing map own credentials. var map = new h.map(document.getelementbyid('map'),       defaultlayers.normal.map,{       center: {lat: lat_val, lng: lng_val},       zoom: 12     });  var dommarker = new h.map.dommarker(coords, {             icon: domicon           }); var bubble; dommarker.addeventlistener('pointerenter', function(evt) {               bubble = new h.ui.infobubble({lat:"some_value",lng:"some_value"}, {               content: "your content come here"             });             ui.addbubble(bubble);           }, false);           dommarker.addeventlistener('pointerleave', function(evt) {             bubble.close();           }, false); map.addobject(dommarker); 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -