Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    You’re trying to use markers with different dimensions for each marker? This won’t work since they do need to all have the same format.

    Thread Starter Conceptio

    (@conceptio)

    Thanks for your time.
    Well, since in some rare case different brand stores share the same geolocation. To make them still both visible and clickable on the map whe are trying to use as marker different arrows-like (one pointing down left, one down right, ect).

    I think we could be forced to change in wpsl-gmap.js the line:

    anchor: new google.maps.Point( Number( markerSettings.anchor[0] ), Number( markerSettings.anchor[1] )

    with something like:

    anchor: new google.maps.Point( Number( infoWindowData.anchorX ), Number( infoWindowData.anchorY )

    Do you think there are better ways ?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Different markers require different anchor’ is closed to new replies.