parent
b700d30ae4
commit
e85bcf9c4d
1 changed files with 3 additions and 1 deletions
|
@ -34,7 +34,9 @@ function initializeNotes(map) {
|
|||
});
|
||||
|
||||
noteLayer.on('click', function(e) {
|
||||
OSM.router.route('/note/' + e.layer.id);
|
||||
if (e.layer.id) {
|
||||
OSM.router.route('/note/' + e.layer.id);
|
||||
}
|
||||
});
|
||||
|
||||
function updateMarker(marker, feature) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue