Documentation for GoogleMaps shortcode?

12 posts in this topic

Posted · Report post

Hi, I've searched this site and the codex.wordpress.org site for all the options available for GoogleMaps shortcode. Can I set the zoomlevel? Can I set text on the infoWindow if specifying an address? Thanks!

Share this post


Link to post
Share on other sites

Posted · Report post

Hi I have, actually. I've written lot's of stuff using the API. But I'm creating a site now with PageLines, and I see this convenient 'shortcode' stuff. I've already tried the standard Google Maps API parameters for 'zoom', and adding it to the shortcode parameters has no effect. I was surprised that there is no mention of params available / param syntax / just use Google Maps API params in the PageLines doc. Any help would be most appreciated. Thanks very much !

Share this post


Link to post
Share on other sites

Posted · Report post

Will, I know you have a lot of experience with the maps API but may I suggest the MapPress plugin. I am a huge fan of this plugin it makes Google maps easy.

Share this post


Link to post
Share on other sites

Posted · Report post

Hi! Sure there are lot's of plugins out there. My question is specific to the shortcode that is supported by PageLines. It seems there should be some documentation that explains it's use. Thanks !

Share this post


Link to post
Share on other sites

Posted · Report post

Will the shortcode itself only supports width, height, and address so if you want more customization go with the other solutions mentioned :)

Share this post


Link to post
Share on other sites

Posted · Report post

Cool - thank you very much!

Share this post


Link to post
Share on other sites

Posted · Report post

Basically just use the shortcode like this: `[googlemap width="200" height="200" address="4000 Ocean Blvd., San Diego, CA 92109"]`

Share this post


Link to post
Share on other sites

Posted · Report post

i need php code for that to insert in my template. can you provide it to me?

Share this post


Link to post
Share on other sites

Posted · Report post

i m trying to add maps for buisness directory plugin http://businessdirectoryplugin.com/.

it works as custom post type and every item has some custom fields. i want to insert adress custom field into google maps shortcode.

Share this post


Link to post
Share on other sites

Posted · Report post

hmmm i'm not if that would work, as somehow the custom post type data would then have to feed into the shortcode. The shortcode is more for static data. I think you'd need to look into the google map api or something similar.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now