diff options
author | Struan Donald <struan@exo.org.uk> | 2013-06-20 18:30:30 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-06-20 18:30:30 +0100 |
commit | e503ecfd937e6115ecbd72fbf63238a1cc5d8465 (patch) | |
tree | 85699378450ca430e9b769c597832db683f627f3 /www/js/map-OpenLayers.js | |
parent | 42bb4053197c7766b4146c430bfbc7c831cc84df (diff) |
display location pin when click new report here
Diffstat (limited to 'www/js/map-OpenLayers.js')
-rw-r--r-- | www/js/map-OpenLayers.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/www/js/map-OpenLayers.js b/www/js/map-OpenLayers.js index 9a0bf67..cc14f99 100644 --- a/www/js/map-OpenLayers.js +++ b/www/js/map-OpenLayers.js @@ -89,6 +89,18 @@ function fixmystreet_onload() { backgroundHeight: 40, backgroundXOffset: -10, backgroundYOffset: -35 + }, + 'location': { + externalGraphic: "i/pin.svg", + graphicWidth: 70, + graphicHeight: 110, + graphicXOffset: -35, + graphicYOffset: -110, + backgroundGraphic: "i/pin_shadow.svg", + backgroundWidth: 186, + backgroundHeight: 110, + backgroundXOffset: -93, + backgroundYOffset: -110 } }); var pin_layer_options = { |