Home › Toolset Professional Support › [Resolved] Toolset Google Maps stopped displaying markers
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | 10:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Kolkata (GMT+05:30)
Tagged: Toolset Maps, Views plugin
Related documentation:
This topic contains 26 replies, has 3 voices.
Last updated by AlexV7701 6 years, 6 months ago.
Assisted by: Minesh.
Dear support team,
We have a page with 20 project listings and a Google Map with their locations.
From one day to the next the markers are no longer displayed. We did not make any changes to the API and no Toolset updates.
When we try to replace the API in the Toolset Map settings, the new API is not saved.
In the error console we find this message:
Google Maps API warning: NoApiKeys hidden link
Apparently the Google Maps API is not found?
And the Toolset backend does not save new settings.
Is this a known problem?
Do you have any idea what is causing this?
Many thanks for your help.
Alex
Hello. Thank you for contacting the Toolset support.
Well - could you please share problem URL where markers are not displaying as well as access details so I can check further whats going wrong with your current setup.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
Well - there are two modifications I made.
There is javascript error on browser's console and to fix that I've adjusted the code with your view's Javascript editor as given under:
jQuery(document).ready(function($){ $('.archive-map .wpv-addon-maps-render').css('width',$(window).width() + 'px'); });
Now, I see there must be issue with the marker image icon you may have uploaded. So I've change the marker_icon to one of the available marker icon as given under:
[wpv-map-marker map_id="map-10" marker_id="marker-[wpv-post-id]" marker_icon="//africanconservation.org/1528792495083/wp-content/plugins/toolset-maps/resources/images/markers/Buildings.png" marker_field="wpcf-project-location"] <h6 class="map-tour-title">[wpv-post-link] </h6> [wpv-post-featured-image size="monstroid2-thumb-s" class="alignleft"] <div class="map-tour-type">[wpv-post-excerpt length="32" count="word" format="noautop"] </div>[/wpv-map-marker]
Now- when I visit the staging site link: hidden link
I can see the markers - could you please confirm.
Hello Miseh,
So glad you managed to identify the issues that quick, thank you!
With regard to our view's Javascript editor and the change you made, is that in the view itself or did you edit a file?
With regard to the marker icon, I can confirm I see all the markers now.
Is the marker you used the built-in default marker in Toolset?
The previous marker was working fine for some months. Has anything been changed in Toolset that affects custom map icons?
Can we still use this map icon? Or do we need to upload a specific file format?
NB Is our communication still private? We'd prefer not to have live links for security reasons.
Thanks very much for your help,
Alex
PS Alternatively, if it is better to use the default map icon, can we change the colour and pictogram (building) in it?
Thanks again!
With regard to our view's Javascript editor and the change you made, is that in the view itself or did you edit a file?
==> Yes - its in within the view itself.
With regard to the marker icon, I can confirm I see all the markers now.
Is the marker you used the built-in default marker in Toolset?
==> Yes - its buit-in Toolset marker.
The previous marker was working fine for some months. Has anything been changed in Toolset that affects custom map icons?
==> I dont think so, could you please try to upload your marker again and replace the URL with marker icon attribute.
Can we still use this map icon? Or do we need to upload a specific file format?
==> yes - you can upload the marker icon image as per your need and check. Upload your custom marker icon and try to display it with marker shortcode.
if it is better to use the default map icon, can we change the colour and pictogram (building) in it?
==> well - I suggest you should upload your custom icon or make a copy of the existing icon and try to modify it as per your need and upload it.
Hi Minesh,
Just letting you know we are working on it and will let you know soon!
Thank you,
Alex
Ok fine - thank you. Please kindly open a new ticket with your each new question you may have and feel free to mark resolve this ticket.
Dear Minish,
Unfortunately we are having trouble finding the view or other place where you adjusted the code.
You mentioned:
"There is javascript error on browser's console and to fix that I've adjusted the code with your view's Javascript editor as given under:"
jQuery(document).ready(function($){ $('.archive-map .wpv-addon-maps-render').css('width',$(window).width() + 'px'); });
We found this line in the archive page (exactly the same on live and staging site) but not in any view.
I hope you can let us know in which view (or other) exactly you adjusted the code?
Thank you very much,
Alex
Well - I've added the said code to the following WordPress archive:
=> hidden link
Hi Minesh,
Thanks very much for your help with locating the right archive and place the add the code.
That worked. Now the map is displaying the map pins again.
One problem (and maybe a bug) is still left:
We can only display default Toolset markers. That is not a huge problem, because we can upload another marker in the default marker folder and change the link.
However, when we try to upload a custom marker through Setting> Map tab it does not work.
The map icon there can not be deleted - clicking the red cross does not work.
And when we try to upload a new marker nothing is changing.
Could it be a bug after an upgrade of Toolset? Or something specific to our installation?
I hope you can have a look at the issue.
Many thanks,
Alex
Well - as your original issue is resolved. May I kindly ask you to open a new ticket with your each new question. This will help other users searching on the forum as well as to write correct resolve ticket summery to which issue belongs to.
Thank you for understanding.
Hi Minesh,
Our original issue has not been solved yet unfortunately.
Now the Toolset default map icons from the Marker folder are displayed.
But our original question was that the map markers suddenly stopped working.
We had normal custom map markers, nothing wrong with the PNG file. Moreover, it was working for some month and suddenly stopped working.
Now that we added the code you suggested we wanted to change the map marker but noticed there is a bug: it can not be deleted or changed through the settings.
What also worries us is that our Toolset installation is apparently not stable: every time Toolset is upgraded it can break our site. That is not how it should be.
Please can you have a look at both concerns and let us know why the map icon stopped working exactly. We need to know.
Many thanks,
Alex
Now that we added the code you suggested we wanted to change the map marker but noticed there is a bug: it can not be deleted or changed through the settings.
=> Actually, whenever you want to change marker icon, you need to add marker shortcode. When you say you are not able to delete it - from where you try to delete the marker icon?
The place where a map marker can be added, changed or deleted is:
Toolset > Settings > Map tab
We uploaded a marker icon in the past, which worked for some months.
There is a small red cross displayed on the marker, for deleting the marker image, but when we click on that nothing happens.
When we click to select another marker image, we can select that other marker image in the Media popup, but it does not show up in the Map tab (the old icon remains).
Many thanks,
Alex