1
0
Fork 0
forked from 0x2620/oxjs

fix a bug where selecting a not-yet-loaded place on a list map would not pan but zoom to that place

This commit is contained in:
rlx 2011-10-08 09:58:31 +00:00
commit 7eb73dd4fb
3 changed files with 9 additions and 7 deletions

View file

@ -185,7 +185,7 @@ Ox.MapMarker = function(options) {
// workaround to prevent marker from appearing twice
// after setting draggable from true to false (google maps bug)
var fix = that.marker.getDraggable() && !that.place.editing;
Ox.print('setOptions, that.map: ', that.map)
//Ox.print('setOptions, that.map: ', that.map)
if (that.map.options('showTypes')) {
that.color = typeColor[that.place.type];
that.size = 8;