1. Home >
  2. Documentation >
  3. data types >
  4. latLng
 

latLng

The google.maps.LatLng can be simplified by

  • {lat:float, lng:float} : object of 2 floats
  • [lat, lng] : array of 2 floats
$("#test").gmap3({
  marker:{
    latLng: [48.8620722, 2.352047]
  },
  map:{
    options:{
      zoom: 5
    }
  }
});
Close