Answer the question
In order to leave comments, you need to log in
Google Maps Api - POLYGONS. How to quickly register coordinates?
I overlay my image (layer) with the master plan of the microdistrict under construction on google maps.
I do according to the instructions: https://developers.google.com/maps/documentation/j...
var historicalOverlay;
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 13,
center: {lat: 40.740, lng: -74.18}
});
var imageBounds = {
north: 40.773941,
south: 40.712216,
east: -74.12544,
west: -74.22655
};
historicalOverlay = new google.maps.GroundOverlay(
'https://www.lib.utexas.edu/maps/historical/newark_nj_1922.jpg',
imageBounds);
historicalOverlay.setMap(map);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question