Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › Google Map Icon pointing at top left of icon
Tagged: google maps
- This topic has 3 replies, 3 voices, and was last updated 3 years, 10 months ago by gavin-7039.
- AuthorPosts
- May 21, 2020 at 2:49 pm #133867gavin-7039Participant
Hi
Thanks for the great plugin!
I have just noticed that the Google Map placemarker icon is pointing at the top left of the icon and not at the point at the bottom of the icon, so sometimes,especially when zoomed out a bit the icon seems to be pointing quite far away from the location, sometimes over the sea.
Thanks
Gavin - May 26, 2020 at 2:32 am #135199antoinenavarro59Participant
I have the same problem! but no one has answered me for more than two weeks!
Please UP ! - May 27, 2020 at 4:57 am #135582tglParticipant
@gavin we have set up an unofficial FB group to try and figure out a few things like this, please feel free to join https://www.facebook.com/groups/users.of.wcfm.marketplace/
- May 28, 2020 at 1:22 pm #136128gavin-7039Participant
I’m guessing this probably has something to do with the anchor property of the icon:
Icon interface
google.maps.Icon interfaceA structure representing a Marker icon image.
Properties
anchor
Type: Point
The position at which to anchor an image in correspondence to the location of the marker on the map. By default, the anchor is located along the center point of the bottom of the image.https://developers.google.com/maps/documentation/javascript/reference/marker#Icon
- AuthorPosts
- You must be logged in to reply to this topic.