Hi Daniel,
I solved the issue from old ticket about the map in hotspot view which is messed up when you scroll down with mouse wheel and mouse enter on the map. I add a map listener which recenter the map after 3 seconds.
map.addListener('center_changed', function() {
// 3 seconds after the center of the map has changed, pan back to the
// marker.
window.setTimeout(function() {
map.panTo(marker.getPosition());
}, 3000);
});
That way map is always centered to hotspot marker.
Regards
Michel
- Michel Ollivier
- Newbie area
- Friday, 06 November 2015
- Subscribe via email
There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now
If you have a valid subscription, please login now.
Visit store now
Last questions
We have recently updated a site from Joomlav3 to v4 (4.4.2). Now when we go to m...
4 Replies
Posted on Tuesday, 30 April 2024
Hallo,
ich habe eine Frage in Bezug auf SEO: ein externer Spezialist macht die...
1 Replies
Posted on Monday, 29 April 2024
Hallo
ich habe eine kleine Frage: wo kann ich einstellen, dass Google die Seite...
1 Replies
Posted on Wednesday, 24 April 2024
Are you able to make changes to the Hotspot submission form? There are several f...
0 Replies
Posted on Friday, 26 April 2024
How do I access custom fields after I have created them?...
0 Replies
Posted on Wednesday, 24 April 2024
- #custom fields