From e6633a29539d2dd8d058a1e16d42362d4c56ed2f Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 4 Apr 2012 00:36:22 +0200 Subject: [PATCH] allow for dynamically colored and sized map markers --- source/Ox.UI/js/Map/Ox.MapPlace.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/Ox.UI/js/Map/Ox.MapPlace.js b/source/Ox.UI/js/Map/Ox.MapPlace.js index f42f435c..a503a1c6 100644 --- a/source/Ox.UI/js/Map/Ox.MapPlace.js +++ b/source/Ox.UI/js/Map/Ox.MapPlace.js @@ -28,8 +28,6 @@ Ox.MapPlace = function(options) { editing: false, geoname: '', map: null, - markerColor: [255, 0, 0], - markerSize: 16, name: '', north: 0, selected: false, @@ -75,10 +73,8 @@ Ox.MapPlace = function(options) { ); if (!that.marker) { that.marker = new Ox.MapMarker({ - color: that.markerColor, map: that.map, - place: that, - size: that.markerSize + place: that }); that.rectangle = new Ox.MapRectangle({ map: that.map,