geojson.io icon indicating copy to clipboard operation
geojson.io copied to clipboard

Add a button to add point after location search.

Open KempWatson opened this issue 3 years ago • 1 comments

Would be a sweet addition to be able to add a point directly after searching for it, rather than having to drop a pin "close by". Perhaps an "add point to map" button beside the search input? Added issue per request by Chris Whong on LinkedIn.

KempWatson avatar Nov 10 '22 19:11 KempWatson

My idea here is:

  • user searches for an address, chooses one from the list
  • map zooms to the location and adds a marker
  • the marker should have an already-opened popup above it with the address and a button:
123 Sesame Street
New York, NY 11217

Add a point feature to your geoJSON data for this location
[Add Feature]

[Clear]

If the user adds the point feature, the search is reset and the marker disappaers

chriswhong avatar Nov 10 '22 20:11 chriswhong