forked from 0x2620/oxjs
correct transparency of result place rectangle and rectangle markers (fixes #312)
This commit is contained in:
parent
f317e6ccf0
commit
2ed61c7b08
4 changed files with 21 additions and 10 deletions
|
|
@ -533,6 +533,7 @@ Ox.Map = function(options, self) {
|
|||
Ox.Log('Map', 'addP2P', data, place);
|
||||
setPlaceControls(place);
|
||||
place.marker.update();
|
||||
place.rectangle.update();
|
||||
self.places.push(place);
|
||||
self.resultPlace = null;
|
||||
that.triggerEvent('addplace', place)
|
||||
|
|
@ -1130,6 +1131,7 @@ Ox.Map = function(options, self) {
|
|||
self.resultPlace = place;
|
||||
Ox.print('removed place, place is now', place);
|
||||
place.marker.update();
|
||||
place.rectangle.update();
|
||||
}
|
||||
|
||||
function reset() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue