• Resolved cjcjcjcj

    (@cjcjcjcj)


    I have several businesses in my database that have the same address and same lat and lon points. Think of an office building that houses many different businesses.

    When trying to display markers on the map that have the same address, only one marker shows up. Is there some way to make all of them show up? Perhaps using an ‘offset’ option or something else?

    Also, it doesn’t appear to cluster the addresses either. Anyway to fix this?

    Thank you very much!

    https://www.ads-software.com/plugins/leaflet-map/

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

    (@bozdoz)

    I think I see what you mean: you want to be able to click the marker and have all addresses show up?

    Sorry for the lateness of my reply. I didn’t realize that this support page existed.

    Thread Starter cjcjcjcj

    (@cjcjcjcj)

    I think I ended up going with another plugin. However, my app is a doctor directory. Each doctor has an address. In the case of a hospital, there could be numerous doctors with the same address.

    So even though I was listing 25 doctors (who all had the same address) only one marker was showing up for 1 doctor, which isn’t really fair to the rest of the doctors, they all deserve a marker.

    It’s been a while since I looked at this piece of the code, but check out how google handles this and maybe iterate in that direction. Pull out to the state view and search on ‘doctor’ in google to get an idea.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Many markers with same address’ is closed to new replies.