This author's response time can be up to 2 business days.
Hi, just purchased the plugin.
Settings were fairly straight forward. Have created the layout for the map, and when ready to paste the shortcode onto the page, it does it work. It comes up with a blank box.
Hi, is this the page where it isn’t working:
I can see a map it’s working on this page: http://awesomescreenshot.com/0465ls9v9b
If this is not the page you were talking about, could you please send me (here or in private via email to greenline @ yava.ro ) the link to the page containing the not working map, also, if possible, the complete map shortcode you are using?
Thanks in advance!
No that isn’t your plugin, it’s part of the theme. I have already emailed you at yava.ro. Please check your email.
I received the email, but it only contains a screenshot. To be able to fix any issue, I need:
- the link to the live page which contains the map
- the complete, full map shortcode you are using
Also, in the email sent to me, you said that “Hi, I’ve purchased your google maps plugin on code canyon (I’m vivianDECL).”
So, you are using my plugin OR a theme which contains my plugin?
(could be a conflict with the theme, that is why I need the complete shortcode and the link to the live page) otherwise I can’t tell from a screenshot what could be the cause….)
Just as a side note for future buyers:
the above comments were for a website where in the end, the map wasn’t working due to another plugin named WP Touch Pro.
The client has been redirected to WP Touch Pro plugin’s author for future debugging.
This is the proof that the maps work fine on mobiles too, just check these pages:
hi how can i add the code via a template file as atm im only able to get the map to display using vc composer only by inputting the code into a text box and that page has a sidebar. i also want the map to appear at the top of the page above any content which is why it would be great to add to tpl file. in the web inspector if i move the container to the top of the page it works perfectly.
Lastly how can i add a custom marker cheers
pasting this into the tpl outputs raw html pasting it inside the php tags and the page recieves a 500 internal error.
can you please provide instructions how to paste this code ( i changed address etc ) into a tpl file.
e.g do i simply just paste something like this into the tpl file for the contact page or do i need to add some code into functions.php
Plesae provide clear intructions
Hi, this is a WordPress plugin, it hasn’t been tested with .tpl files. In fact, to be honest I do not know what a tpl template is, I thought they are for HTML, case in which my plugin can’t be used. This WordpPress plugin is for WordPress post, pages or widgets and for WordPress themes. I will try to find how a WordPress plugin can be used with a tpl template and I will let you know if it is possible….
As for custom icons, just upload to your media library the icon, then copy-paste the link to it in the icon parameter in the shortcode. Instead of red, green, yellow use the link to the icon image.
Thanks to having a genius as an author for my purchased theme he has managed to very quickly fix the issue that i had and assume would be a common issue for many purchasers of this plugin.
the generated code outputs img src=’ ’ instead of ” ” (the double quotes is essential as you aren’t able to use single quotes and double quotes.
so just to make it very simple for others:
If you would like to place the map anywhere on the page you can do so by going into your page template inside dashboard – appearance – editor – ( choose the page template you would like to amend typically template-contact.php )
copy and paste
by default the image source is outputted like this so you must replace the single quotes with double quotes
annoyingly the img src has been processed into a missing image so jsut to clarrify it should be img src=” ” not img src=’ ‘
I am glad you have found a solution which works for your theme, but:
if your theme works with this piece of code:
description="<img src="http://example.com/image.png" /> another text"
instead of this:
then, it means that the theme it is poorly coded (most probably is not from themeforest where themes are quality checked).
Why? Because in this case it means, most probably that the theme manipulates the shortcodes content with a custom function in the theme’s functions.php, thing which should NEVER be made by theme developers. They should never format the output of shortcodes.
Please send this to the theme developer, he will want to code his theme correctly: https://codex.wordpress.org/Shortcode_API
This is a screenshot from the above codex, showing that single quotes are in this case the right solution (click the image to view larger):
Either ways, I am happy the issue was solved, But I am sure the theme developer will appreciate the links, so that he knows how to correct his theme.
Also, in my documentation I have not shown that single quotes should be used, but the ESCAPED SINGLE QUOTES:
This is the correct way, in fact. Which you can see is working, as in this test page based on a custom page template, using the exact shortcode from above image:
Wondering if anyone can assist:
I would like to display multiple locations on a single map by calling coordinates that have been entered into posts using custom fields.
The posts are regular posts within a sub-category.
I did find some code within this comments section but I can’t seem to get it working. I believe I may be having trouble adapting the code to suit my particular site. It looks like this:
extract(shortcode_atts(array('arg' => 'default'), $atts));
$args = array( 'cat' => '16,29', 'posts_per_page' => -1 );
$loop = new WP_Query( $args );
$dataset = array();
while ( $loop->have_posts() ) : $loop->the_post();
$mykey_values = get_post_custom_values('coordinates');
$dataset = $coordinates;
$output = implode("|",$dataset);
// always good to see exactly what you are working with
echo do_shortcode('[res_map address="' .$output. '" icon="red" style="1" scalecontrol="no" typecontrol="no" streetcontrol="no" zoom="13" zoomcontrol="yes" draggable="yes" scrollwheel="yes" searchbox="yes" clustering="no" logging="no" poi="yes" width="100%" height="250px" maptype="roadmap" popup="no" center="-29.622072,23.37985" refresh="yes" adbg="#ffffff"]');
echo $output; //just for testing
Any assistance would be very much appreciated,
Thanking you in advance
Hi, I’ll have a look at the code, but are you sure this is the account from which you have purchased the plugin?
In the email you’ve sent me from my profile page and also here in the comments, it’s displayed that the username Melmo_SA hasn’t purchased the plugin.
I’ll let you know when I have a hint about your code, I’ll have to test it first.
The plugin was purchased using my company account – LionMarketing.
I created my own login for support reasons, I trust this is ok?
Could you please send me to the email address at firstname.lastname@example.org an email with the purchase code?
I’m sorry to ask for it, but there are people nowadays who download the plugin from other sources and I have to be sure before spending my time to provide support.
Thank you in advance!
I have tens of thousands of lat/lon cities for all 50 states. I want to group them into 5 zones in each state. Then, I’ll upload in bulk to various state maps.
How do I group all these cities into intrastate zones for all 50 states? Do you provide a tool?
Hi, thank you for your interest. If you have thousands of locations to show, it would be better if you’d use another plugin, one which does not use a shortcode. Otherwise the shortcode might become huge. My plugin uses a shortcode so it’s not the best choice for this scenario. About the grouping, yes, my plugin uses clustering for grouping proximate markers.
Hope it helps a bit, thanks again, cheers!
Hi, Thanks. I can still see a use for your script. Please tell me if I can export the definitions i.e. clustername, cluster lat/lon; pointname, points lat/lon for all the clusters. Also, can I define the size (distance) of when to form clusters? thx j
No, I’m sorry, the plugin cannot export anything. And the size of the cluster also, it’s predefined in the third-party clustering library I’m using. And that library calculates itself the size of the cluster and other parameters of the cluster. Cheers
Is the link (openMarker) working with clusters ? I have about 10 address infos under the map, if i put a link in each, the opnemarker link will scroll up the page to the map ?
Hi, no, it doesn’t work when clustering is enabled (in this case, when clicking the link openMarker, the map should also zoom-in into the cluster that contain that marker, to show that exact marker – which it doesn’t).
I see in the introduction that this can be used with custom posts, but I’d just like to check it can be used in the way I need…
I have around 1200 custom posts, each of which needs its own map. That means I need the a map added to the single.php template, with the address taken from the address field that each post already has – plus future additional posts, obviously.
Does this plugin allow that?
Hi, thanks for your interest!
Yes, the plugin allows that.
If you drop me an email at email@example.com I can send you a simplified, trial version of the plugin (without the admin part and with only a map style). And with this trial you can check that it’s indeed working.
I will send you also the exact PHP code you’ll have to include in the single post template single.php (I’ll send you an example with one address and another example with four addresses, to see how it works).
Hoping it helps a bit, I’ll wait your email then,
Good day. I bought “Beauty Salon WordPress Theme”. “Responsive Styled Google Maps” plugin included. Version 2.24. Can I get latest update from you?
Hi, yes, please email me at firstname.lastname@example.org for that, thanks!
It seems to be the great plugin!:)
Two questions, is it possible to put my own icon as a marker and marker cluster?
Hi Agata, thank you! The first is possible, it’s possible to use your own icon as marker. The second is not possible, the cluster icons cannot be changed (they are created in a third party library which I am using, that’s why they can’t be changed).
I hope it helps, if you have other questions, please feel free to ask! Cheers
Hello, I have a problem with map display. The map won’t appear unless I start to scroll the page. When page loads, all you can see is an empty box with marker. You need to start scrolling the page in order to see the map. The same thing with zooming etc. – you can’t see the change unless you start scrolling. The same issue in all browsers.
I use the map in the sidebar of Sahifa theme.
Hi, could you send me here in the comments (or in private via email to email@example.com ) a link to your live page that contains the map?
Or if your page is not live, but only local on your computer, please send me a link to the theme (where I can view it or download it) and the map shortcode you are using.
I’ll have a look and I will definitely help with a solution, but I have to see first the page to discover the issue, that is why I’m asking these details.
Thanks! And thanks for using my plugin!
I’ve sent you the link to your email.
In your video you srolled down the page and the map was there, of course. Please, put the map on top in the sidebar, so that you dont need to scroll down to see the map and try that way. Scrolling down activate the map, the problem is that it doesn’t apear when page loads and without scroll.
Hi Goran, I received the link, I am investigating it right now (I moved my map widget also at the top on my local test server). I think it has something to do with the theme, which loads the elements as the user scrolls down the page, I will try to identify the cause and find a solution). I’ll let you know soon.
It seems it’s happening due to a Sahifa theme setting: “Lazy Load For Images”: http://yava.ro/images/sahifa.png
This theme setting, when is enabled (and it is enabled, by default), will make all the images from page (including the map images) to be shown only when the page is scrolled down. So it’s a theme feature, not a bug.
To change this, either deactivate this theme setting, either please ask the theme author how to deactivate the image lazy loading only for an element from page (the map element has the class ‘responsive-map’, the theme author will need this info). The theme author will better assist with this because they have written the lazy loading code and they will know better how to implement this.
Thanks a lot, it works!
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $6.40