I just updated shortcode module for your case, so please follow steps below to update on your server:
1. Get attached file
2. Extract it then replace "dexp_shortcodes" module on your server under modules/drupalexp folder
3. Clear cache
Now you can you shortcode as below for your maps on contact page:
[maps class='' link='' title='' image='' phone='' zoom='' marker='']ADDRESS[/maps]
For example:
[maps image="http://statics.drupalexp.com/jollyness/01_office.jpg" title ="OUR USA OFFICE" link="http://google.com.vn" phone="+90 555 666 77 88" zoom="10" marker='http://statics.drupalexp.com/jollyness/marker.png'] NEW YORK CITY 2045 / 65 [/maps]
Hi Jimmy,
Thanks for the shortcodes update. I really appreciate it.
But on my site it seems to have broken the colouring and custom map marker. Attached is a screenshot of what I am getting now. Below is the specific shortcode I used:
[maps image="sites/default/files/logo-for-map.jpg" title="Viridian IT Office" link="https://www.google.com.au/maps/place/12%2F239+Barnard+St,+Bendigo+VIC+3…" phone="1300 063 327" zoom="15" marker="sites/default/files/map-marker_0.png"] 12/239 Barnard St, Bendigo VIC 3550 [/maps]
I update maps shortcode for jollyness already. So you don't need to do anything else, just need to use marker option of maps shortcode.
With the old function, please follow my post above to update maps shortcode.
Thanks!
[maps class='' link='' title='' image='' phone='' zoom='' marker='']ADDRESS[/maps]
For example:
[maps image="http://statics.drupalexp.com/jollyness/01_office.jpg" title ="OUR USA OFFICE" link="http://google.com.vn" phone="+90 555 666 77 88" zoom="10" marker='http://statics.drupalexp.com/jollyness/marker.png'] NEW YORK CITY 2045 / 65 [/maps]