Open OniQ opened 4 years ago
Hello,
What platform do you use? (ios, android / vue, angular)
For my part, I checked on android / ios with angular no problem.
Hello,
I use Nativescript Angular on iOS.
When I zoom in on one of my markers and clean the map, I don't have a larger cluster when I zoom out.
Or does the clusters overlap?
When I call GoogleMapsUtils.clearMap() marker are removed from visible screen, but when I drag a map I see other markers and clusters.
I understood the problem. I just realized it. The map is clear but if you zoom in or out the markers / clusters reappear. I'm going to look at how to make sure that doesn't happen.
The problem coming in my opinion from the SDK, I updated the podfile. Are you able to see if the problem still persists?
I can't run the project after update. I get the following error now:
[!] CocoaPods could not find compatible versions for pod "Google-Maps-iOS-Utils": In Podfile: Google-Maps-iOS-Utils (~> 3.1.4)
None of your spec sources contain a spec satisfying the dependency: Google-Maps-iOS-Utils (~> 3.1.4)
.
You have either:
pod repo update
or with pod install --repo-update
.Hi, you need launch pod repo update
or tns platform remove ios
& tns build ios
in terminal
Hi. I tried clean install but it didn't help. I get no error only on older version.
Here is what I had in my terminal during a tns run ios
, I made 3 installation with 2 iphone and 1 simulator, all successful :
Installing pods...
Analyzing dependencies
Downloading dependencies
Installing Google-Maps-iOS-Utils 3.1.4 (was 3.0.2)
I was able to install latest version now. Bet the problem still exists - marker are removed only form visible map area, but are still there when I drag map. I use clusters.
I really can't understand why the mechanics of google-maps-sdk
cannot completely clean the map (for clusters), I thought of an error in the google-maps-utils-iOS
SDK but I will have to look elsewhere
Is there is a way to remove all cluster from map? GoogleMapsUtils.clearMap() removes clusters only from visible part of map.