WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Pronamic Google Maps] Balloons/Variables/Mashup

[Resolved] [Plugin: Pronamic Google Maps] Balloons/Variables/Mashup

  • Hi there. Outstanding plugin, but I have some noob questions that I couldn’t find answers to. I’ve just used the sample code on the plugin page.

    – I’m using a custom post type for my client’s list of different locations. The maps appear great on each individual post page, however the balloon descriptions do not appear at all. What don’t I have enabled?

    – I want to show the address elsewhere on the same page (outside of the plugin). How can I extract variable information from the plugin on each page? And, I would like to use the variable information to link to a driving directions page or popup.

    – The mashup map does not show any individual locations. Right now, I have two published. Surely, I’ve missed a step somewhere?

    I’m using a locahost machine, but can upload to a live URL if needed.
    Thanks for the help!

    http://wordpress.org/extend/plugins/pronamic-google-maps/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Remco Tolsma
    Participant

    @remcotolsma

    I’m using a custom post type for my client’s list of different locations. The maps appear great on each individual post page, however the balloon descriptions do not appear at all. What don’t I have enabled?

    By default only the Pronamic Google Maps ‘description’ field is displayed in the balloon. If the description field is empty no balloon will be displayed.

    I want to show the address elsewhere on the same page (outside of the plugin). How can I extract variable information from the plugin on each page? And, I would like to use the variable information to link to a driving directions page or popup.

    echo get_post_meta(get_the_ID(), '_pronamic_google_maps_address', true);

    The mashup map does not show any individual locations. Right now, I have two published. Surely, I’ve missed a step somewhere?

    You have to pass WordPress query arguments to the ‘pronamic_google_maps_mashup()’ function. If that query has no results you won’t see any locations on the map.

    Hi,
    Just noticed a problem with the mashup. I can only see the last 4 posts on the mashup map. What settings should I change?

    Also, can pronamic maps be made to work with the google cluster marker maps?

    Many thanks!

    Plugin Author Remco Tolsma
    Participant

    @remcotolsma

    You should probably the WordPress query you pass in the pronamic_google_maps_mashup($query, $arguments) function.

    pronamic_google_maps_mashup(array(
    	'post_type' => 'post' ,
    	'posts_per_page' => -1
    ), array(
    	'width' => 500 ,
    	'height' => 500
    ));

    For more info about the ‘posts_per_page’ parameter see:
    http://codex.wordpress.org/Function_Reference/WP_Query#Pagination_Parameters

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Pronamic Google Maps] Balloons/Variables/Mashup’ is closed to new replies.