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.

groundOverlay zIndex problem

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)

cordova-plugin-app-event 1.2.1 "Application Events"
cordova-plugin-chrome-apps-common 1.0.7 "Chrome Apps Common Utils"
cordova-plugin-chrome-apps-socket 1.2.3 "Chrome Apps Socket API"
cordova-plugin-chrome-apps-sockets-udp 1.3.0 "Chrome Apps Sockets UDP API"
cordova-plugin-chrome-apps-system-network 1.1.2 "Chrome System Network API"
cordova-plugin-compat 1.0.0 "Compat"
cordova-plugin-crosswalk-webview 2.3.0 "Crosswalk WebView Engine"
cordova-plugin-device 1.1.7 "Device"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-file-transfer 1.6.3 "File Transfer"
cordova-plugin-firebase 0.1.24 "Google Firebase Plugin"
cordova-plugin-googlemaps 2.1.1 "cordova-plugin-googlemaps"
cordova-plugin-local-notification 0.8.4 "LocalNotification"
cordova-plugin-tts 0.2.3 "TTS"
cordova-plugin-whitelist 1.3.2 "Whitelist"

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: I created a groundOverlay png image in my map, but I don’t want the google map markers(below is screen capture highlight in red line) show on png image whenever set zIndex to 999… it’s still not working. Expected behavior: Just setting zIndex to make image higher than goggle map markers layer. Screen capture or video record: inkedscreenshot_2018-01-23-16-04-16_li

Related code, data or error log (please format your code or data):

		map.addGroundOverlay({
			url: 'images/map.png',
			bounds: bounds,
			opacity: 1,
			zIndex: 999,
			clickable: true
		}, function(groundOverlay) {
			groundOverlay.on(plugin.google.maps.event.GROUND_OVERLAY_CLICK, function(event) {
				if (editable) {
					placeMarker(map, event.latLng);
				} else {
					here =
					{
						lat: event.lat,
						lng: event.lng
					}
				}
			});

		});

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
wf9a5m75commented, Jan 24, 2018

Why don’t you search with Google? I’m not your teacher. https://stackoverflow.com/a/44593496/697856

1reaction
gogogoalealealecommented, Jan 24, 2018

Still have problem~~

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error: /Users/wolfysu/Indoordirection/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/wolfysu/Indoordirection/platforms/android/src/plugin/google/maps/MyPluginLayout.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/actions/ReserveIntents;
Read more comments on GitHub >

github_iconTop Results From Across the Web

google maps api 3 - Geoxml3 groundOverlay zIndex
Probably the easiest way would be to specify zIndex for GroundOverlay once the map is loaded: google.maps.event.addListenerOnce(map, 'idle' ...
Read more >
Setting zIndex of CartoDB.js layer on top of Google Map's ...
I am trying to combine the Google Maps API Ground Overlay example with CartoDB.js example using Google Maps. It appears both APIs are...
Read more >
GroundOverlayOptions | Maps SDK for Android
getZIndex(). Gets the zIndex set for this GroundOverlayOptions object. ... Specifies the ground overlay's zIndex, i.e., the order in which it will be...
Read more >
Z-Index of KmlLayers
Hmm good question. Since no matter how many KML Layers you create, they all render as a single image tile this would be...
Read more >
Xamarin.Forms.GoogleMaps 3.0.0-beta4
#[Android]Fix Polygon, Polyline, Circle, Pin, GroundOverlays does not work ... #361 [Android/iOS]Add ZIndex property to GroundOverlay ...
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