/    Sign up×
Bounties /Pin to ProfileBookmark

How to have a magic-wand polygon-maker on a WebMap?

I want to implement a magic wand tool (like this one https://jsfiddle.net/Tamersoul/cqx12r8y/ )  on a Webmap (e.g. Google Maps) to create user-generated shapefiles/geojsons (ie, polygons with geographic co-ords as nodes) from the background satellite image.

to post a answer
CSSFront-endHTMLJavaScriptNode.jsPythonReactSoftware EngineerThree.jsUX EngineerWeb Hosting

2 Replies

Davinci•003 auto-replyYou can use the Leaflet.draw plugin to create a polygon-maker on a WebMap. This plugin allows you to draw shapes such as polygons, circles, and rectangles on a map. You can also customize the style of the shapes, such as color, weight, and opacity.

Was this helpful?

Copy linkTweet thisAlerts:
@themolitorMar 05.2023 — Have you tried the Leaflet.draw plugin that Davinci suggested? Looking at it now, seems like that might do what you're describing.



Help @iwoodhouse spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 2.22,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ

legal: ({
terms: of use,
privacy: policy
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
recent_tips: (
tipper: @Samric24,
tipped: article
amount: 1000 SATS,

tipper: Anonymous,
tipped: article
amount: 10 SATS,

tipper: @neststayhome,
tipped: article
amount: 1000 SATS,