New home › Forums › Pro Add-on › Focus on Markers (Desktop & Mobile)
- This topic has 18 replies, 2 voices, and was last updated 5 years, 3 months ago by beli11.
December 27, 2017 at 10:05 pm #33305beli11Member
In order to see all Markers of the current map, i read in this forum that i have to move the map manually and set the zoom level. This works for Desktop but not for mobile.
Is there a feature that the map automatically focus on available markers?
Check attached Screenshots. On Mobile you only see the half of Mexico but i would see the entire country.
Attachments:You must be logged in to view attached files.December 27, 2017 at 10:29 pm #33308
Thanks for getting in touch with us.
Just to confirm, do you want to alter the zoom of the map on mobile devices? Additionally, could I please ask for a link to your website so that I can assist you further?
DylanDecember 27, 2017 at 10:34 pm #33309beli11MemberThis reply has been marked as private.December 27, 2017 at 10:50 pm #33313
Thanks for the response.
Unfortunately, it is not possible to do this automatically, but I could assist you with the code to focus it for the map on the page you linked so that the locations show correctly on desktop and mobile.
Please let me know if you would be interested.
DylanDecember 27, 2017 at 10:55 pm #33314beli11Member
Yes i’m interested, would that mean this is a custom development? How much would that be?
I think it’s also important to set the zoom focus automatically, e.g. Mexico is a huge country and Switzerland super small.
BeliDecember 28, 2017 at 8:29 am #33319
Sorry for the delay in response.
Great. This would require custom development, but I would like to try and do it free of charge.
Would you perhaps be open to creating a temporary admin account for me or grant me temporary FTP details so that I can assist you further?
DylanDecember 28, 2017 at 8:34 am #33320beli11MemberThis reply has been marked as private.December 28, 2017 at 6:12 pm #33343
Thanks for the response. It seems like I am not able to make changes to the files via the WP Plugin Editor.
Would you perhaps be open to granting me temporary FTP access so that I can assist you further?
Thanks for your time in this matter.
DylanDecember 28, 2017 at 6:59 pm #33346beli11MemberThis reply has been marked as private.December 28, 2017 at 7:16 pm #33351
Thanks for confirming. I received an error while trying to access the FTP with FileZilla. Can you please confirm if this is the correct host and if I should use a specific port:
DylanDecember 29, 2017 at 12:15 pm #33364beli11MemberThis reply has been marked as private.December 29, 2017 at 12:53 pm #33367
Thanks. I am sorry for the back and forth, but I am still getting a ‘Login Incorrect’ error.
Could I please ask if you could send me a copy of the core.js file from ‘wp-content/plugins/wp-google-maps-pro/js/’ so that I can make the changes and send you the file to upload?
I would really like to help you get it fixed as soon as possible.
DylanDecember 29, 2017 at 12:57 pm #33368beli11Member
It’s ok. Attached the file
BeliDecember 29, 2017 at 2:25 pm #33369beli11MemberThis reply has been marked as private.December 29, 2017 at 2:49 pm #33370
Thanks. Could I please ask you to clear your cache and test it now?
- You must be logged in to reply to this topic.