How to have Zoom greater than 18 in Google map API in PHP..?

Guys i know maximum default zoom limit in google map api is 18. But I want to exceed that is there any way…??

Below is my PHP code

     function myMap() {
  var mapProp= {
center:new google.maps.LatLng(13.029400,77.5639000),
mapTypeId: 'satellite',
 fullscreenControl: true,

  var map=new google.maps.Map(document.getElementById("googleMap"),mapProp);

   var marker1 = new google.maps.Marker({
   position: new google.maps.LatLng(13.029400,77.5639090),
title: 'Inverter-1'

Current zoom value image

Map position i want

How to achieve this

I have moved it to the Javascript category as it doesn’t seem to suit the PHP category. Simply just adding in “PHP” into your title or any where on the topic won’t really make it “considered” a PHP related subject. If it pertains to the specific code you have posted above, then yes. It suits Javascript more than PHP as I have not seen a single PHP code yet in the snippet above.

Have you tried putting 20 in your code?

According to one Google page I looked at it said the maximum zoom was 18 depending on the location as some tiles are not of a good quality as the location did not warrant it.

Looking at this page if you right click on the image it gives the maximum zoom available

1 Like

@Rubble… Thank u mate worked…

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.