groundOverlay zIndex problem
See original GitHub issueI’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:
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:
- Created 6 years ago
- Comments:16 (10 by maintainers)
Top 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 >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
Why don’t you search with Google? I’m not your teacher. https://stackoverflow.com/a/44593496/697856
Still have problem~~