allow for dynamically colored and sized map markers

This commit is contained in:
rolux 2012-04-04 00:36:22 +02:00
parent 74099f8642
commit e6633a2953

View file

@ -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,