update place flag on define (fixes #563)
This commit is contained in:
parent
7019a7994b
commit
43aeec758c
1 changed files with 4 additions and 0 deletions
|
@ -995,6 +995,10 @@ Ox.ListMap = function(options, self) {
|
|||
place.name = self.$list.value(self.options.selected, 'name');
|
||||
place.id = self.options.selected;
|
||||
self.$map.addPlace(place);
|
||||
self.$findPlaceButton.hide();
|
||||
self.$placeFlag.attr({
|
||||
src: Ox.getFlagByGeoname(place.geoname || '', 16)
|
||||
}).show();
|
||||
self.$placeForm.values(place).show();
|
||||
self.$areaKmInput.value(Ox.formatArea(place.area)).show();
|
||||
editPlace([
|
||||
|
|
Loading…
Reference in a new issue