Any easy was to migrate gMap settings (footer code) from v5 to v6 without changing to "inline"? For reference, what I mean by "inline" is shown per documentation and not preferred:
The following is what I previously had and although I think it is able to migrate inline to one line of code, it will be rather complex to tweak in future:
JS in HTML Footer:
$('#google-map').gMap({
address: '37.296, -76.644',
maptype: 'ROADMAP',
zoom: 11,
markers: [
{
address: "37.296, -76.644",
icon: {
image: "images/icons/map-icon-red-dubs.png",
iconsize: [26, 40],
iconanchor: [13, 40]
},
html: "**New Quarter Park**
1000 Lakeshead Dr, Williamsburg, VA 23185"
},
{
address: "37.315, -76.703",
icon: {
image: "images/icons/map-icon-red-dubs.png",
iconsize: [26, 40],
iconanchor: [13, 40]
}, html: "**Waller Mill Park**
901 Airport Rd, Williamsburg, VA 23185"
}
],
doubleclickzoom: true,
controls: {
panControl: true,
zoomControl: true,
mapTypeControl: false,
scaleControl: false,
streetViewControl: false,
overviewMapControl: false
},
styles:
[
{
"featureType": "administrative",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#444444"
}
]
},
{
"featureType": "landscape",
"elementType": "all",
"stylers": [
{
"color": "#f2f2f2"
}
]
},
{
"featureType": "poi",
"elementType": "all",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "road",
"elementType": "all",
"stylers": [
{
"saturation": -20
},
{
"lightness": 35
}
]
},
{
"featureType": "road.highway",
"elementType": "all",
"stylers": [
{
}
]
},
{
"featureType": "road.arterial",
"elementType": "labels.icon",
"stylers": [
{
"visibility": "on"
}
]
},
{
"featureType": "water",
"elementType": "all",
"stylers": [
{
"color": "#6699cc"
},
{
"visibility": "on"
}
]
},
{
"featureType": "water",
"elementType": "labels.text",
"stylers": [
{
"visibility": "on"
},
{
"color": "#333333"
}
]
},
{
"featureType": "poi.park",
"elementType": "all",
"stylers": [
{
"visibility": "on"
}
]
}
]
});
