Comments (1)
triniwiz suggested on discord that I use the @nativescript/google-maps
plugin, which would be the current, supported version. But, it's a different interface and would require a significant redesign of my code, as I depend heavily on the mapview._markers
array and would have to implement a separate mechanism for keeping track of the markers I create. It makes sense to do, but I'm gong to defer that for later.
For now, I have my existing code working with this change - I replaced this line of code:
if (marker.isInfoWindowShown) {
with these lines of code:
let isInfoWindowShown = isIOS ?
marker.isInfoWindowShown() :
marker._android.isInfoWindowShown();
if (isInfoWindowShown) {
Since I have this working and will ultimately migrate to the newer plugin, I'll close this issue.
from nativescript-google-maps.
Related Issues (11)
- Nativescript 8 HOT 11
- Organize documentation
- {N} 8.1 iOS app crashes immediately attempting to navigate to map page HOT 9
- Crash on iOS calling GMSMapView.mapWithFrameCamera HOT 5
- Keyed Info Window Template support HOT 10
- Could not find com.android.tools.build:gradle:4.5.6. HOT 17
- Failed to build plugin @kefah/nativescript-google-maps HOT 1
- How to make package or how can I include this source code into my project HOT 1
- StyleBase circular export Android HOT 4
- NO NATIVE COMPONENT FOR ELEMENT TAG NAME NATIVEMAPVIEW HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nativescript-google-maps.