NativeScript / NativeScript/plugins

[@nativescript/google-maps] overlay events not firing

Open
#462 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
206
Forks
123
Avg merge
2d 1h
Merged PRs (30d)
1

Description

I've been struggling trying to work this out for a week. I've looked all the source and everything seems fine, but for some reason I cannot get them to fire on iOS or Android. I've tried Circle, Polygon, Polyline. None of them fire the event. I've checked to make sure my function names and MapView properties all line up. I even modified source and verified the iOS listener and Android listener are executing at this point, it's like the MapView just isn't receiving the notification.

Any help is appreciated.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the iOS listener in packages/google-maps/index.ios.ts (lines 342-368) and the Android listener in packages/google-maps/index.android.ts (lines 236-274). Reproduce the issue with Circle, Polygon, and Polyline overlays on both platforms, then trace why MapView does not receive the notification. Done means overlay events fire on iOS and Android.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.