hello,
I would change the marker in the google map by a png.
What is the code to change?
Thank you for your help.
Change the marker in the google map?
Laurent BIZIEN Photographies
MacBook Pro 2,6 GHz Intel Core i7 : Mojave 10.14.6 - 6.1 beta3b pro
MacBook Pro 2,6 GHz Intel Core i7 : Mojave 10.14.6 - 6.1 beta3b pro
I found
Addition in html
if ((gps.length>=2) && ((gps[0]!=0) || (gps[1]!=0))) {
markerLocation = new google.maps.LatLng(gps[0], gps[1]);
marker = new google.maps.Marker({position: markerLocation,map: map});
marker.setIcon('images/imagex.png');
marker.setTitle(pano.getNodeTitle(id));
-------
marker.setIcon ('images / imagex.png');
or
marker.setIcon ('http://maps.google.com/mapfiles/marker_yellow.png');
Laurent
Addition in html
if ((gps.length>=2) && ((gps[0]!=0) || (gps[1]!=0))) {
markerLocation = new google.maps.LatLng(gps[0], gps[1]);
marker = new google.maps.Marker({position: markerLocation,map: map});
marker.setIcon('images/imagex.png');
marker.setTitle(pano.getNodeTitle(id));
-------
marker.setIcon ('images / imagex.png');
or
marker.setIcon ('http://maps.google.com/mapfiles/marker_yellow.png');
Laurent
Laurent BIZIEN Photographies
MacBook Pro 2,6 GHz Intel Core i7 : Mojave 10.14.6 - 6.1 beta3b pro
MacBook Pro 2,6 GHz Intel Core i7 : Mojave 10.14.6 - 6.1 beta3b pro