Shortcode – Mapsupreme Plugin

— You can add google map by shortcode. Insert the code in post/page/listing editor content.

— Shortcode is :: [ vantage_gmap ]

— Set width & height like ::

[ vantage_gmap w=600px h=300px ] or

[ vantage_gmap w=100% h=400px ] or

[ vantage_gmap w=100% ] or

[ vantage_gmap h=400px ] or

[ vantage_gmap w=100% h=300px cat=7 zoom=10 ismapnormal=1 ] - where cat=7 is for category wise map

[ vantage_gmap clat=37.796691 clng= -122.399487 w=100% h=300px cat=7 zoom=10 ismapnormal=1 ]

–“w” :: widht of google map either “px” or “%”
eg:
w=500px or w=100% – for shortcode
‘w’ => ‘500px’ or ‘w’ => ‘100%’ – for php code

–“h” :: height of google map either “px” or “%”
eg:
h=300px or h=50% – for shortcode
‘h’ => ‘300px’ or ‘h’ => ‘50%’ – for php code

–“zoom” :: zooming of map
eg:
zoom=12 – for shortcode
‘zoom’ => ’12’ – for php code

— “zoomfit” : set automatically zoom as per maximum & minimum latitude, same for maximum & minimum longitude
the value should be eitehr “0” OR “1”
eg:
zoomfit=0 OR zoomfit=1 – for shortcode
‘zoomfit’ => 0 OR ‘zoomfit’ => 1 – for php code

–“clat” :: map central Latitude
eg:
clat=37.796691 – for shortcode
‘clat’ => ‘37.796691’ – for php code

–“clng” :: map central Longitude
eg:
clng= -122.399487 – for shortcode
‘clng’ => ‘-122.399487’ – for php code

–“ismapnormal” :: map display either normal/group map
eg:
ismapnormal=1 (for normal map) or ismapnormal=0 (for grouping icon) – for shortcode
‘ismapnormal’ => ‘1’ or ‘ismapnormal’ => ‘0’ – for php code

–“cat” :: Listing category for map, set category id and it will show only category map
eg:

cat=7 – for shortcode
‘cat’ => ‘7’ – for php code
where 7 is category ID of “Software category