News for hackers. Stuff that matters.
Re:Where'd The Water Go? Google Maps Water Pixel Detection W... by Someone on Tuesday September 17, 2013 @06:45PM (#6402421)
I don't see the need to treat water different from earlier placed markers.

Here's how I would hack this: whenever you place an icon, draw a slighty larger circular 'lake' on top of that hidden canvas. That added lake prevents you from placing another icon in the neighborhood of that icon.

Re:Where'd The Water Go? Google Maps Water Pixel Detection W... by erickerr on Tuesday September 17, 2013 @07:59PM (#6402645)
There is a performance hit for this. Rendering the 40 markers in the provided demo takes roughly 7ms on my machine vs 25ms for the fake lake method.