I add a style to my google maps like this:
// vars
var args = {
zoom : 16,
center : new google.maps.LatLng(0, 0),
mapTypeId : google.maps.MapTypeId.ROADMAP,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.SMALL,
position: google.maps.ControlPosition.RIGHT_CENTER
},
styles: <?php echo get_field('_gm_design', 'option'); ?>,
};
Now I want to add a different style to maps that are located in the websites footer. Hmmm … any idea?