Discussion on Responsive Styled Google Maps - WordPress Plugin

greenline

greenline supports this item

Supported

This author's response time can be up to 2 business days.

310 comments found.

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.

Please assist??

Hi,

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

Thank you!

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….)

Thanks!

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 :)

annoyingly the img src has been processed into a missing image so jsut to clarrify it should be img src=” ” not img src=’ ‘

Hi

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:

description="<img src="http://example.com/image.png" /> another text" 

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.

Cheers,

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: http://yava.ro/test123/

Hi there!

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:

        <?php          
            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

            endwhile;

            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 :grin:

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.

Cheers

Good day,

The plugin was purchased using my company account – LionMarketing. I created my own login for support reasons, I trust this is ok?

Thanks

Could you please send me to the email address at greenline@yava.ro 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!

Hi,

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?

Cheers, j

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

Hello,

Presale question

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 ?

Thank you

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 greenline@yava.ro 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, Cheers :-)

Good day. I bought “Beauty Salon WordPress Theme”. “Responsive Styled Google Maps” plugin included. Version 2.24. Can I get latest update from you?

Evgeny Lesser

Hi, yes, please email me at greenline@yava.ro for that, thanks!

Hi, It seems to be the great plugin!:) Two questions, is it possible to put my own icon as a marker and marker cluster? Best, Agata

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

goran

goran Purchased

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.

Any solution?

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.

Kind regards

goran

goran Purchased

Thanks a lot, it works! :)

by
by
by
by
by
by