-
Zh OpenStreetMap
-
Component
-
Home not centered and different sized icons
Home not centered and different sized icons
-
veganway
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 11
-
Thank you received: 0
-
-
4 years 1 week ago #13337
by veganway
Hello,
I am working on my site (it is offline) and I have a couple of issues:
1) I have a placemark with a text box that correctly opens when the page is loaded, but if I scroll the map and then click on "home" icon, the map goes back to a place that's a little more down than the real home, so the text box gets cut in the upper part, how can I fix this?
2) Home rectangle area around icon is bigger than the one behind gps icon, how can I make them the same size?
Thank you
Christian
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4605
-
Thank you received: 460
-
-
-
-
-
3 years 11 months ago #13343
by Dima
Hi
Home button returns to map center. If you have placemark with open popup property - it doesn't the same case.
Open popup property - just open popup (do click on placemark).
Home button - return map center.
For other questions I need to access to page, I can't understand clear
Please Log in or Create an account to join the conversation.
-
veganway
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 11
-
Thank you received: 0
-
-
3 years 11 months ago - 3 years 11 months ago #13352
by veganway
Hello,
sorry, I have not understood. I am attaching two images. You can see what happens when I first open the page where the map is (popup with red text is already opened by default as I set it), and then if I move on the map and then I click on "home". Is it possible to have the popup been totally visible as in first image even after "home" is clicked?
As for icons question, please see first image where I underlined gps icon that is smaller than home icon.
Thank you
Christian
Last edit: 3 years 11 months ago by veganway.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4605
-
Thank you received: 460
-
-
-
-
-
3 years 11 months ago #13353
by Dima
As for not full visible popup - Check, probably you set Disable Autopan in map details (map details tab). If you set it to yes, map will not change center to display full popup when you click on placemark.
As for second question - check your template styles. Probably it override my styles.
Look how it looks in my case
Please Log in or Create an account to join the conversation.
-
veganway
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 11
-
Thank you received: 0
-
-
3 years 11 months ago #13358
by veganway
Hello, thank you. "Disable autopan" is set to no both in Maps/map details and in Popup style details... My placemark has a -50 y axis because it was covered by the popup, could this be a cause?
I'll have to check the template style.
Thank you
Christian
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4605
-
Thank you received: 460
-
-
-
-
-
3 years 11 months ago - 3 years 11 months ago #13359
by Dima
Correct behaviour is icon and popup are point into one place - where you define
Or do you want that popup is displayed above icon?
Like
Last edit: 3 years 11 months ago by Dima.
Please Log in or Create an account to join the conversation.
-
Zh OpenStreetMap
-
Component
-
Home not centered and different sized icons
Time to create page: 0.246 seconds