Skip to content

Implement polygon drawing for web app - #2570

Open
cuongnt wants to merge 1 commit into
google:masterfrom
cuongnt:master
Open

Implement polygon drawing for web app#2570
cuongnt wants to merge 1 commit into
google:masterfrom
cuongnt:master

Conversation

@cuongnt

@cuongnt cuongnt commented Jul 23, 2026

Copy link
Copy Markdown

Summary
Implements end-to-end polygon drawing on the web app:

  • Click map to add vertices with live preview overlay
  • Complete/Cancel toolbar appears during drawing
  • Saves polygon LOI to Firestore via Protobuf serialization
  • Unhides the polygon drawing tool button

Changes

  • geometry-data-converter.ts: model → Protobuf converters
  • loi-data-converter.ts: LOI → Firestore document serializer
  • data-store.service.ts: addOrUpdateLoi() method
  • loi.service.ts: addPoint() updated, addPolygon() added
  • map.component: vertex collection, preview overlay, toolbar UI
  • drawing-tools.component: polygon button unhidden
  • map.component.spec.ts: tests updated and added

… interest features

Replit-Commit-Author: Agent
@google-cla

google-cla Bot commented Jul 23, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@gino-m

gino-m commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Can you please attach a screen recording and a bug number so we can get more context?

@cuongnt

cuongnt commented Jul 30, 2026 via email

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants