Forums › Feature Requests › Single location – direction
- This topic has 4 replies, 2 voices, and was last updated 6 years, 2 months ago by
Eyal Fitoussi.
-
AuthorPosts
-
March 4, 2016 at 10:09 am #50999
Jakub Gardner
MemberEyal
im using shortcode:
‘[gmw_single_location item_type=”post” elements=”map,directions_link” address_fields=”address,state” units=”k” map_height=”450px” map_width=”100%” map_type=”ROADMAP” zoom_level=”13″ scrollwheel_map_zoom=”0″ item_info_window=”title,address,distance” user_map_icon=”0″ user_info_window=”” no_location_message=”Błąd mapy. Zgłoś nam to poniżej!”]’
And have suggestion – direction input field should have same little button which you can accept your move to google maps, because on mobiles / smartfones is hard to click “enter”. And for desktop users is not so obvious too…
And dont know how works magnifier button – when I click it – nothing happends, when I delete recognized location and fill with custom adress – again – nothing…
example
and scrren attached
Attachments:
You must be logged in to view attached files.March 6, 2016 at 4:23 pm #51015Eyal Fitoussi
MemberHello Jakub and thank you for the post. It is indeed a bug in the Single Location add-on. The magnifier icon should send the user to Google Map once clicked.
I will apply a fix to the next version of the plugin which I am currently working on but I will not be released for a while. If you’d like, I can tell you which file to change and what to change in order to apply a temporary fix. It is a fairly simple, only one line of code needs to be changed.
March 6, 2016 at 11:40 pm #51020Jakub Gardner
MemberYes, please!
March 10, 2016 at 8:04 pm #51077Eyal Fitoussi
MemberOk.
1) Open the filegeo-my-wp/plugins/single-location/gmw-sl-class.php
2) Go to line 356 which should be
1$output .= "<i class=\"get-directions-submit fa fa-search get-directions-submit-icon\"></i>"and change it to
1$output .= "<i class=\"get-directions-link-submit fa fa-search get-directions-submit-icon\" onclick=\"jQuery( this ).closest( 'form' ).submit();\"></i>";3) Save the file and test it.
Let me know if that helps.
March 23, 2016 at 12:30 am #51282Eyal Fitoussi
MemberThis topic marked “Resolved” due to inactivity. If you wish to reply to this topic please change its status to “Not resolved” before replying.
-
AuthorPosts
You must be logged in to reply to this topic.