Skip to content Skip to sidebar Skip to footer

Display Zoom Slider In Google Maps

Is there a way to show zoom control slider in google maps using their API (like in this image I have taken today from maps.google.com)? zoom slider control I tried setting style:

Solution 1:

The old zoom control has been removed. If you want to include one you'll need to custom make it. I only skimmed over this blog post about how to make one but it seems pretty comprehensive.

Essentially you'll need to create a custom HTML element and tie functions to detect changes in the slider and emit those to the Google Map

Solution 2:

I have heard about the talkings about new version of maps will have vertical zoom slider that they will re-implement the slider for next version. we will wait and see what will they do for that. If you had any information about this please inform us too.

Post a Comment for "Display Zoom Slider In Google Maps"