1
0
Fork 0
forked from 0x2620/oxjs

geo/map bugfixes

This commit is contained in:
rolux 2011-11-24 19:38:10 +01:00
commit dfd2787438
14 changed files with 892 additions and 809 deletions

View file

@ -840,10 +840,10 @@ Ox.Map = function(options, self) {
self.places = [];
if (!self.isAsync) {
self.options.places.forEach(function(place, i) {
self.places[i] = new Ox.MapPlace(Ox.extend({
self.options.places.forEach(function(place) {
self.places.push(new Ox.MapPlace(Ox.extend({
map: that
}, place));
}, place)));
});
}
google.maps.event.trigger(self.map, 'resize');