forked from 0x2620/oxjs
update map, url controller, icon list selection css
This commit is contained in:
parent
5f20f84582
commit
c624cc5082
4 changed files with 24 additions and 19 deletions
|
|
@ -466,6 +466,7 @@ Ox.Map = function(options, self) {
|
|||
}
|
||||
|
||||
function clickMap(event) {
|
||||
var place = getSelectedPlace();
|
||||
if (self.options.clickable/* && !editing()*/) {
|
||||
getPlaceByLatLng(event.latLng, self.map.getBounds(), function(place) {
|
||||
if (place) {
|
||||
|
|
@ -475,6 +476,8 @@ Ox.Map = function(options, self) {
|
|||
selectPlace(null);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
pressEscape();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue