Map with custom mapOptions

back to documentation
          
            var mapOptions = {
              backgroundColor:"#474F58",
              mapTypeControl:false,
              overviewMapControl:false,
              panControl:false,
              scrollwheel:false,
              zoomControlOptions:{style:google.maps.ZoomControlStyle.SMALL}
            };
            jQuery('#map').shakemap({
              data:'simple.json',
              mapOptions:mapOptions
            });
          
        
          
            //geoJSON example
          {
            "type":"FeatureCollection",
            "features":
              [
                {
                  "type":"Feature",
                  "geometry":{
                    "type":"Point",
                    "coordinates":[13.532209,45.804991]
                  },
                  "properties":{
                    "name":"Monfalcone",
                    "description":"Simple marker"
                  }
                }
              ]
            }