question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Map Loads with all Layers and Markers But Is Not Zooming or Panning

See original GitHub issue

I’m submitting a … (check one with “x”)

  • question
  • any problem or bug report
  • feature request

If you choose ‘problem or bug report’, please select OS: (check one with “x”)

  • Android
  • iOS

cordova information: (run $> cordova plugin list)

Kimberlees-MacBook-Pro:dvLinemanAppSDK kimberleearmstrong$ cordova plugin ls com.googlemaps.ios 2.5.0 “Google Maps SDK for iOS” cordova-background-geolocation-lt 2.9.1 “BackgroundGeolocation” cordova-plugin-actionsheet 2.3.3 “ActionSheet” cordova-plugin-background-fetch 5.1.1 “CDVBackgroundFetch” cordova-plugin-camera 4.0.1 “Camera” cordova-plugin-cocoalumberjack 0.0.4 “CocoaLumberjack” cordova-plugin-device 2.0.1 “Device” cordova-plugin-dialogs 2.0.1 “Notification” cordova-plugin-file 5.0.0 “File” cordova-plugin-file-transfer 1.7.0 “File Transfer” cordova-plugin-googlemaps 2.1.1 “cordova-plugin-googlemaps” cordova-plugin-network-information 2.0.1 “Network Information” cordova-spatialite-storage 1.2.0 “Cordova sqlite/spatialite storage plugin” phonegap-plugin-barcodescanner 7.0.0 “BarcodeScanner” phonegap-plugin-contentsync 1.4.2 “content-sync” phonegap-plugin-push 1.8.0 “PushPlugin” uk.co.workingedge.phonegap.plugin.launchnavigator 4.1.2 “Launch Navigator”

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)

Current behavior: When the map loads after animation to location the map

Expected behavior: Map Loads with all Layers and Markers But Is Not Zooming or Panning

Screen capture or video record:

Xcode logs show this: CoreData: annotation: Failed to load optimized model at path ‘/var/containers/Bundle/Application/A196813A-F820-4154-9B43-05860D68B8B1/Lineman-App.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo’ CoreData: annotation: Failed to load optimized model at path ‘/var/containers/Bundle/Application/A196813A-F820-4154-9B43-05860D68B8B1/Lineman-App.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo’ CoreData: annotation: Failed to load optimized model at path ‘/var/containers/Bundle/Application/A196813A-F820-4154-9B43-05860D68B8B1/Lineman-App.app/GoogleMaps.bundle/GMSCacheStorage.momd/StorageWithTileVersionID.omo’ 2018-01-25 16:04:54.737179-0600 Lineman-App[4596:4027485] panning google map with zoom:12 and center of 26.24 / -97.8231195190038 Google={“lat”:26.24,“lng”:-97.8231195190038} 2018-01-25 16:04:54.737416-0600 Lineman-App[4596:4027485] —>animateCamera 2018-01-25 16:04:54.737641-0600 Lineman-App[4596:4027485] refreshGoogleMap()

The person who share your project files on Github (or other git repository) is in faster lane than other people.
Please share your project files on Github or others(Bitbucket, Gitlabs...etc).
If you don't want to share your project files, please create a demo project, then share it.

Screen captures, and/or native logs(such as Logcat, xcode logs) are appreciate.

Giving much information, you are waiting time is less.
Thank you for your cooperation.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
KimberleeDArmstrongcommented, Jan 31, 2018

I changed the name to LinemanApp in config.xml and dropped the ios platform and readded it and the problem went away.

1reaction
wf9a5m75commented, Jan 25, 2018

Good. I’m planing to release the next version soon (hopefully in this week). The next version is really stable than ever.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Map tiles not loading until a zoom is executed #3002 - GitHub
The initial map is missing one tile it appears and when I change to other tile layers with the layer control, I end...
Read more >
JMapViewer: pan and zoom not set by when map has just ...
I have two custom images as markers on JMapViewer . I would like the map to set proper pan and zoom so that...
Read more >
Open the popups of all markers that are visible on the map ...
Open the popups of all markers that are visible on the map with a zoom > 10. Save this question. Show activity on...
Read more >
Controlling Zoom and Pan | Maps JavaScript API
When a user scrolls a page that contains a map, the scrolling action can unintentionally cause the map to zoom. This behavior can...
Read more >
Load markers for only visible tiles? - Google Groups
I'm wondering if it is possible to only load markers on the map tiles that are currently visible. So, I set the default...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found