forked from 0x2620/oxjs
Ox.Map elements need new too
This commit is contained in:
parent
cb7a7b0f5d
commit
523764c632
4 changed files with 11 additions and 11 deletions
|
|
@ -72,13 +72,13 @@ Ox.MapPlace = function(options) {
|
|||
{lat: that.north, lng: that.east}
|
||||
);
|
||||
if (!that.marker) {
|
||||
that.marker = Ox.MapMarker({
|
||||
that.marker = new Ox.MapMarker({
|
||||
color: that.markerColor,
|
||||
map: that.map,
|
||||
place: that,
|
||||
size: that.markerSize
|
||||
});
|
||||
that.rectangle = Ox.MapRectangle({
|
||||
that.rectangle = new Ox.MapRectangle({
|
||||
map: that.map,
|
||||
place: that
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue