allow for dynamically colored and sized map markers
This commit is contained in:
parent
74099f8642
commit
e6633a2953
1 changed files with 1 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue