I have 51 elements that are enabled to be shown on a map and if I enable an 52th element the whole content that contains the shortcode for the map does not get rendered anymore and is missing from the frontend.
There are no error messages in the javascript console and no php errors
Do you have any ideas?
]]>Hi we have used Pronamic Google Maps plugin on our website, I am getting error “This page can’t load Google Maps correctly.”
https://www.bygging-uddemann.se/projects/
To solve this issue I have generated the API key and enable the billing and updated the API key on website
<script async defer src=”https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap”
type=”text/javascript”></script>
but still facing the same issue, can you please look in to issue and let me know how to fix this It’s very UREGNT
]]>Hello,
Since two days the maps do not load normally. I found an API key error in the javascript console of Firefox. I am looking for a solution to solve this problem. Thank you for helping us.
Error Message :
Could not load Google Maps correctly on this page.
Do you own this website?
Javascript error ….
Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
Google Maps JavaScript API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
Hi friends, thanks for this great plugin that we are using since many years.
This summer Google started asking for a Credit Card to use their Maps APIs.
However our site works just fine so far, and no downgraded experience has happened.
Why is it? We haven’t provided any Credit Card.
In another site that is using Maps via a Theme we are having problems because of that, but not in the site where we use Pronamics Google Maps.
Thanks for any input,
]]>Hello!
I need to show a single category with shortcode.
Use this:
[googlemapsmashup query=”category_name=test&nopaging=true”]
But it does not work
Thank you.
Hello,
I am trying this code but it displays all the posts instead of only the taxonomy i selected. any ideas?
if ( function_exists( ‘pronamic_google_maps_mashup’ ) ) {
pronamic_google_maps_mashup(
array(
‘post_type’ => ‘schools’,
‘tax_query’ => array(
array(
‘taxonomy’ => ‘schoolcategory’,
‘field’ => ‘term_slug’,
‘terms’ => array(‘boxing’),
)
)
),
array(
‘width’ => ‘100%’,
‘height’ => 400,
‘map_type_id’ => ‘roadmap’,
)
);
}
Can it be done with the shortcode too?
thanks!
]]>Would it be possible to fill the required fields in your plugin by choosing existing custom fields? For example I use a CPT with an address field alreday. Like to use the plugin, bit I have to retype the address to get the map.
Thanks,
Peter Luit
The Netherlands
Any ideas on how to solve the console warning? Thanks in advance. Great plugin.
]]>Hello, thanks very much for this great plugin.
We’d like to show a close range zoom for the Mashup (for example, focused on France), but, as we have stores all over the world, the whole world map is shown.
How could we give the mashup a closer zoom automatically?
Many thanks,
]]>I need to start using the plugin on a legacy site. Legacy posts already have address data which I would want to use, they just need geocoding.
What would be the suggested approach?
Hello team,
When I choose a english language (spanish is the default language) the map don’t work and I can’t see the marks.
Can you guide me what I need to do to fix this problem, or where should I start investigating, please?
Thanks a lot
]]>hi, I’m searching a plugin which can open the location-markers by mouseover.
can pronamic google maps view the locations in that way?
regards,
dagmar
Is it possible to set the map marker icon based on the category of the custom post type it is attached to?
I see how I can set a custom map marker, but not sure if I can run conditional statements to check categories for a custom post type.
]]>Hello, I would like to change the color of the map and have it black and white. I’ve tried to pass hue and saturation parameters with no success.
Is there a way to do that?
Thanks a lot in advance for your help.
At 4everspain.com we use Genesis Framework and AgentPress child theme. We are trying to remove your plugin Promanic Google Maps but we can’t even deactivate it without damaging the site.
If you deactivate the plugin, it disables any reference to “Wrap” in the theme’s css file, diables the “Sidebar” when viewing a post and shows a category as only containing one post.
It doesn’t help if you go to the theme settings page because the setting are shown as correct.
Help Please.
Awesome plugin,
Important question for those users trying to integrate this plugin with an existing site (pardon me if it’s been answered… couldn’t find in the support documentation)
If you already have custom meta boxes loading for other purposes, we’ve noticed that any use of wp_query in other meta boxes causes the meta details not to load correctly in the “Pronamic Google Maps” meta box.
To provide a quick example, let’s say you want to load another meta box beside the “Pronamic Google Maps” meta box that contains a drop down menu of posts (as in choose a related post)
https://codex.www.ads-software.com/Class_Reference/WP_Query#Multiple_Loops
Placing the below code in a second meta box causes the “Pronamic Google Maps” meta box to not load any meta details into the fields, even though there is the correct meta info saved. “Pronamic Google Maps” meta box works correctly when removing the new WP_Query( $args ); function.
$query1 = new WP_Query( $args );
if ( $query1->have_posts() ) {
// The Loop
while ( $query1->have_posts() ) {
$query1->the_post();
echo '<li>' . get_the_title() . '</li>';
}
/* Restore original Post Data
* NB: Because we are using new WP_Query we aren't stomping on the
* original $wp_query and it does not need to be reset with
* wp_reset_query(). We just need to set the post data back up with
* wp_reset_postdata().
*/
wp_reset_postdata();
}
Any assistance you could provide would be greatly appreciated.
Regards,
S.
]]>Hi,
Was looking at Chrome and Firefox’s console messages and saw these messages:
Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required
I’ve put the API key in the Pronamic Settings page so that is not a configuration issue.
Then I saw that in the script that is used on my page that it is included as
<script src="https://maps.googleapis.com/maps/api/js?sensor=false& amp;# 038;key=XXX"></script>
Had to add a space between the & and # so it doesn’t get modified here.
It seems somehow the script url was been escaped? And also the sensor=false is still used.
I’ve commented out the sensor part in Maps.php line 192 locally and that has fix all issues.
Thought you may want to update the current version to have this fixup applied.
Cheers
]]>I was curious if there was a way for me to use my own custom map markers for this plugin.
Is there a function I can use in order to call a custom image from my theme?
]]>Hi, is it just me or there the only way to insert a marker is to add the coordinates manually? Is it not possible to have the marker be set by clicking on a map’s location directly?
Thanks
]]>Hi,
See the page below for an example:
https://www.aaa1signs.com/project-map/
When I use multiple markers, each marker only shows the title of the post. None of the information that I put in the plugin meta boxes shows up in the info box (title, description, address), although the markers are showing up in the correct locations.
Thanks for your help.
]]>Google API Key is not Working.
WHY?
]]>Hello,
I’m using plugin Pronamic Google Maps only on posts and pages.
It works wonderful till I updated to enfold 3.7.1
After updating to enfold 3.7.1 the “Geocode” function of Pronamic Google Maps doesn’t work: It is not possible to zoom the map.
Changing the theme to twenty sixteen Pronamic Google Maps works fine.
I have created a new Google API key but without result.
Any other plugins using google maps (Tribe events calendar, WP google maps) work fine.
Kriesi, the producer of theme enfold, asked me to contact you because they believe there is no problem with enfold.
Thanks for any help.
Best regards
Hans-Gerd
Whenever gravity forms is present on the page, the map (using a mashup) just disappears.
]]>Hi,
Adding this to a post with Maps information ends up just creating empty paragraphs:
[googlemaps]
[googlemaps static=true]
[googlemaps static=true label=M]
[googlemaps width=200 height=200]
[googlemaps new_design=true]
The only way I’ve been able to display a map is by creating my own shortcode:
function google_map_func( ) {
if ( function_exists( 'pronamic_google_maps' ) ) {
$map_info .= pronamic_google_maps( array(
'width' => '100%',
'height' => 300
) );
$map_info .= pronamic_google_maps_geo_microformat();
}
}
add_shortcode( 'google_map', 'google_map_func' );
// Process shortcodes in Snippets
add_filter('widget_text', 'do_shortcode');
Though using this I can’t really control the output position, but at least it is showing.
]]>Dear,
I am using the mashup functionality. I allow visitors to make a search on zip and another variable. I obtain the post IDs of the result of the query and I want to display the search result on a mashup map, but the pronamic mashup code doesn’t work with post__in neither include.
My search result returns a string of following post ids : 3901, 3900, 3898, 3703, 3699, 3519, 3470, 3912.
post__in requires an array. To convert my string to an array I use following code:
$googleIDS = explode(', ', $string);
But it doesn’t work.
If I hard code the array as follow
array(3901, 3900, 3898, 3703, 3699, 3519, 3470, 3912)
then it works.
I also tried to replace 'post__in' => $googleIDS,
by 'include' => $string,
but it doesn’t work neither.
Here is my code
if ( function_exists( 'pronamic_google_maps_mashup' ) ) {
pronamic_google_maps_mashup(
array(
'post_type' => 'cpt',
'post__in' => $googleIDS,
),
array(
'width' => '100%',
'height' => 400,
'map_type_id' => 'roadmap',
'marker_options' => array(
'icon' => 'https://www.mywebsite.com/mymarker.png',
'latitude' => 52,
'longitude' => 8,
'zoom' => 4,
'fit_bounds' => false,
),
)
);
}
}
showProfessionnels( $atts );
Any help hardly appreciate.
]]>Dear,
Outstanding plugin!
I am trying to change the markers on a mashup map with the image of each post. The image field is a custom field. And I have two custom post types (A and B).
The image field for post type A is pro_thumb and for custom post type B it is the avatar of the author of the post.
I tried with following code`
function prefix_pronamic_google_maps_marker_options_icon( $url ) {
switch ( get_post_type() ) {
case ‘A’:
$im = get_post_meta( get_the_ID (), ‘pro_thumb’, true );
return $im;
case ‘B’:
$authorid = get_the_author_meta( ‘ID’ );
return get_avatar( get_the_author_meta( ‘ID’ ), 60 );
}
return $url;
}
add_filter( ‘pronamic_google_maps_marker_options_icon’, ‘prefix_pronamic_google_maps_marker_options_icon’ );
`
All images are png.
Can you tell me how to fix this?
What would be the best way to set the zoom level and centre point when using mashup shortcode rather than it calculating the zoom level automatically to encapsulate the area covered by the furthest markers (locations)?
Thanks in advance!
]]>The icon for cluster is not working anymore as google as force https request on mai.
I got now an error saying :
https://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererplus/images/m1.png Failed to load resource: the server responded with a status of 404 (Not Found)
A took some info, and apparently google have force HTTPS on image request.
Description of the issue : https://stackoverflow.com/questions/37087583/google-maps-not-working-in-https
Any fix ?
Thank you.
]]>Hello
Is it possible to have the map and a listing of custom post-type, and when i click on a post in the listing, it opens the corret popup on the map ?
Thanks
Jérémy
Hi,
I wanted to know if this plugin was still being updated or it had been abandoned?
Thanks
]]>