function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
You can add listener on click of marker like this:-
marker.addListener('click', function() {
map.setZoom(8);
map.setCenter(marker.getPosition());
});
thank you so much for response. but i want "full screen google map to show the location when the location marker is clicked in the google map."
can you please help with that?
marker.addListener('click', function() {
var myMap = document.getElementById('map-canvas');
myMap.style.height = 100%;
myMap.style.width = 100%;
}