1
0
Fork 0
forked from 0x2620/oxjs

correct transparency of result place rectangle and rectangle markers (fixes #312)

This commit is contained in:
rlx 2012-03-07 13:28:45 +00:00
commit 2ed61c7b08
4 changed files with 21 additions and 10 deletions

View file

@ -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() {