Hi,

we just run into a problem: when more than one node share the same address that gets geocoded by google maps these addresses are displayed by one marker only (or maybe its just all markers on top of each other - but you can only see and click on the one on top).

Is it possible (and does it make sense) to add some (optional) fuzziness to the geocoded location? Just a little random variation within a couple of meters round the exact location would solve our problem.

Thanks
Markus

Comments

webgeer’s picture

Priority: Normal » Minor

This is a problem with all geocoding techniques. The locations are exactly the same so they completely overlap each other. It could be possible to add some fuzzyness. This could be done in the javascript so that when you add an address with javascript it will put the marker in very slightly the wrong place (some random configurable amount off). In the meantime you will have to do this manually. (geocode your address then click somewhere near it for the location of the node).

markusH’s picture

Thanks for the ideas.

We took some time and came up with a solution that works for us: we adapted the clusterer2.js script to run all the time and changed the default clusterer settings. This way, nodes that share the same geocoding are displayed as one marker. But clicking on it that marker gives a list of these nodes.

We also tried the fuzzyness thing. However, it turned out that this really get's confusing for users if it's hardcoded in the geocoded location (since it scales).

stephencameron’s picture

I understand that the recent Google API has tabbed windows for markers - you may want to look at that feature to conform with the emerging API wherever you can. I suspect the js tag parser structure will change soon to allow this functionality to blossom.

markusH’s picture

Thanks for the hints. I'm a big fan of using standards. So I hope I can get rid of our hack at some point.

Cheers
Markus

bdragon’s picture

Status: Active » Closed (fixed)