0

Does anyone know how to change the boundaries of a map with the google maps api? I have a map currently that shows the full world and if I zoom out it shows multiple copies of the full world. The problem is that I only want to show north america, and I only want to show it once. Can anybody help out? Thanks!

nobody
  • 7,803
  • 11
  • 56
  • 91

1 Answers1

0

Duplicate: Google Maps API V3: limit map bounds


There's no API to restrict map boundary in Google Maps API. You may can accept external solution, or consider using other map library like OpenLayers or Leaflet, which supports max-extent feature.

Community
  • 1
  • 1
Mics
  • 1,420
  • 14
  • 19