Fixes draggable markers in Safari
authorMatthias Schmidt <gravatronics@live.com>
Tue, 4 Feb 2014 20:13:27 +0000 (21:13 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 4 Feb 2014 20:13:27 +0000 (21:13 +0100)
After dragging a marker, it was possible that it wasn't visible anymore in Safari.

wcfsetup/install/files/js/WCF.Location.js

index 0eef61e9ad27fe91a3e5675d6a4de36ae225f185..27230e85871195d5abab0bf3110d1976d44fd021 100644 (file)
@@ -204,7 +204,8 @@ WCF.Location.GoogleMaps.Map = Class.extend({
                        clickable: false,
                        draggable: true,
                        map: this._map,
-                       position: new google.maps.LatLng(latitude, longitude)
+                       position: new google.maps.LatLng(latitude, longitude),
+                       zIndex: 1
                });
                
                this._markers.push($marker);