[Resolved] Add offset to a marker when multiple markers are on same coordinates.
I have just installed version 1.9-rc1 and have been able to use the multiple markers plugin provided in this version.
For my site I have a marker for each lawyer in a certain area. When two lawyers happen to work at the same location only one markers shows up (or the markers turns blue and shows a number 2 in the circle to indicate that there are multiple lawyers at this location.) What my client wants is that when you reach the highest zoom level that you can see the individual placemarks so you can click on each one instead of only the top one.
To do this I thought I’d create a function in functions.php and compare the coordinates. If both latitude and longitude are identical I can add a small offset to one of the markers to slightly move them on the map. Unfortunately I haven’t been able to get this working.
Is there an easier solution?
- The topic ‘[Resolved] Add offset to a marker when multiple markers are on same coordinates.’ is closed to new replies.