1

I have been inspired by this code to create a geohash map for my Neo4j geohash graph on Leaflet: geohash on leaflet

Unlike the (lat/lon) markers, the geohash string is represented as a rectangle in the map.

For a static search, I return all the geohash nodes with an Ajax query in my Leaflet Map.

For a dynamic search I added a search form, as you can see above the map, to query the Neo4j database by time (timehash here for me).

The request to the database is working fine, and the new geohash rectangles are plotted in the map, however the previous geohash rectangles remains.

How do I delete the previous geohash rectangle from the map?

  • Solved :I found the Solution here – A.HADDAD Jan 25 at 13:50

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.