Answer the question
In order to leave comments, you need to log in
How to customize fullscreen button in google maps?
I need to customize the map control buttons. I did the Zoom in and Zoom out, now I need to customize the Expand button to full screen.
I need a method that will reset the control from the standard fullscreen button to the one I created.
Here's what I used for the zoomIn/zoomOut buttons:
google.maps.event.addDomListener(controlUIzoomIn, 'click', function() {
map.setZoom(map.getZoom()+1)
});
google.maps.event.addDomListener(controlUIzoomOut, 'click', function() {
map.setZoom(map.getZoom()-1)
});
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