Disable map controls in Google Maps embed

panoptican picture panoptican · Oct 21, 2011 · Viewed 28.1k times · Source

Is it possible to disable map controls by adding some variables to the Google Maps embed code?

Answer

douwe picture douwe · Oct 21, 2011

no you can't, but if you use the javascript api you can do this:

 map = new google.maps.Map(document.getElementById("map_canvas"), {
      panControl: false,
      zoomControl: false,
      scaleControl: false,
 });