Hello everyone,
I would like to know how can I change the HTML content for a marker popup.
I try this javascript code :
function pointNameValueChanged(args) {
var parser = MapWebEdition.GetMapParser();
var markerOverlay = parser.map.getLayer('MarkerOverlay');
for (var index = 0; index < markerOverlay.markers.length; index++) {
if (markerOverlay.markers[index].id == $get('MarkerIDInEdition').value) {
markerOverlay.markers[index].popup.html = "" + $get('pointName').value + "";
markerOverlay.redraw();
}
}
}
Thanks by advance for your advices.