ionic-team / ionic-team/capacitor-google-maps

[@capacitor/google-maps] -> Feature -> map.getPolygons()

Open
#117 1 comment 3 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
32
Forks
47
PR merge metrics
No merged PRs in 30d

Description

## Feature Request

### Plugin

@capacitor/google-maps

### Description

right now you can do `map.addPolygon()` and `map.removePolygon()` and thats all well and good. but i want to save my polygons and to do that I need the data. From what I can see, there is nothing in the API that allows me to do so.

### Platform(s)

iOS, Web, Android

### Preferred Solution

ideally the interface would look like below. the array of strings parameter in this case is 1 or more polygon id's. This seems consistent with how the other polygon methods work ( using string ids to remove ).
`map.getPolygons(polygons : string[])`

### Alternatives

### Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.