Error while cleaning markers on ionic wrapper
See original GitHub issueI’m submitting a … (check one with “x”) [ ] question [x] any problem or bug report [ ] feature request
The plugin version: (check one with “x”) [ ] 2.0-beta3 (github) [x] 2.0 (npm)
If you choose ‘problem or bug report’, please select OS: (check one with “x”) [x] Android [ ] iOS
cordova information: (run this.map.clear();
)
main.js:1122 TypeError: Cannot read property 'apply' of undefined
at Marker.trigger (BaseClass.js:62)
at Marker.remove (Marker.js:112)
at clearObj (Map.js:268)
at Map.clear (Map.js:277)
at vendor.js:52912
at new t (polyfills.js:3)
at GoogleMap.clear (vendor.js:52911)
at GoogleMap.value [as clear] (vendor.js:128009)
at MapsPage.<anonymous> (main.js:1111)
at step (main.js:1022)
If you use @ionic-native/google-maps
, please show me the package.json
"@ionic-native/google-maps": "^4.3.2",
<plugin name="cordova-plugin-googlemaps" spec="^2.0.11">
Current behavior:
Expected behavior:
Steps to reproduce:
Screen capture or video record:
Related code, data or error log (please format your code or data):
insert any relevant code, data, or error log here
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Geolocation error for ionic app is work on browser but not ...
i am developing a map based project in which app tries for geolocation of user, if GPS not enable it shows an error...
Read more >Removing Markers | Maps JavaScript API - Google Developers
This example creates a map where each click by the user creates a marker. Click the buttons to hide or delete all of...
Read more >Component cannot be used as a JSX component in React
The error Component cannot be used as a JSX component occurs for multiple reasons, returning an array of JSX elements instead of a...
Read more >Ionic Forum - Latest posts - RSSing.com
I am working with an API that is used to sync bigger amounts of data (JSON arrays mostly, later maybe also images) to...
Read more >Compact Ionic Air Purifier, 250 sq ft Room Capacity, Black - Air ...
Offers two settings—High and Low. Compact air purifier rids the air of harmful allergens, irritants and particles, while silently circulating purified air back ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @wf9a5m75 ! everything working here.