aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-OpenLayers.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-01-12 19:14:32 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-01-12 19:14:32 +0000
commit880b029945b958b564162bb5e3720e3133f0e34e (patch)
treea7fd50b6b63a503930bb8de7a6bbc3ace8f0134c /web/js/map-OpenLayers.js
parent7817cbe264e3aa2ac784d4ea2e2b580174370f0f (diff)
Turn on Y-ordering to fix pin shadow issue.
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r--web/js/map-OpenLayers.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js
index 5f91f2534..d0b712618 100644
--- a/web/js/map-OpenLayers.js
+++ b/web/js/map-OpenLayers.js
@@ -59,6 +59,9 @@ function fixmystreet_onload() {
}
var pin_layer_options = {
+ rendererOptions: {
+ yOrdering: true
+ },
styleMap: new OpenLayers.StyleMap({
'default': new OpenLayers.Style({
externalGraphic: "/i/pin${type}.png",