Wahrscheinlich in Ihrem Fall Benutzerdefinierte Overlay wird nützlich sein: prüfen diese exmaple
-Code-Schnipsel:
var bounds = new google.maps.LatLngBounds(
new google.maps.LatLng(62.281819, -150.287132),
new google.maps.LatLng(62.400471, -150.005608));
// The photograph is courtesy of the U.S. Geological Survey.
var srcImage = 'https://developers.google.com/maps/documentation/' +
'javascript/examples/full/images/talkeetna.png';
// The custom USGSOverlay object contains the USGS image,
// the bounds of the image, and a reference to the map.
overlay = new USGSOverlay(bounds, srcImage, map);
können Sie ein Bild-Overlay https: // developers.google.com/maps/documentation/javascript/examples/maptype-image-overlay – scaisEdge
danke, ich alr Verwenden Sie es, aber für Rechteckbereich. Für willkürliche Polygone ist dies nicht möglich. –
fügen Sie ein Bild .. wenn das Bild kein Rechteck ist aber mit transparenten Bereich sollte funktionieren .. – scaisEdge