Hi. When I'm setting showOnLoad: true in options I get this error:
_xdc_._2frjgyywz is not a function (276 out of range 124) in http://www.google.com/uds/api?file=uds.js&v=1.0&directload=t&callback=_xdc_._2frjgyywz&key=ABQIAAAAoIm9mZlLEYEo0C_NosoXORR_WbX-7u7b_mlJIj0Q6G0ejlKhkBQxANgpwYxiVrubDaYTmPAlOYhPHQ&hl=ru obfuscated and minified code there, so I can't figure out what is the problem. there is similar thread: http://groups.google.com/group/Google-Maps-API/browse_thread/thread/ced035b5690b035f but instead of posting solution, they simply left the thread. Peace of code where map is created: this.map=new GMap2(this.map_holder,{ googleBarOptions: { showOnLoad: true, resultList: new Element('div'), //supress the results suppressInitialResultSelection: true, onSearchCompleteCallback: this.search_complete.bind(this), onGenerateMarkerHtmlCallback: this.marker_info.bind(this) } }); var center=this.get_point(lat,lon,zoom,set_marker); this.map.setCenter(center.point,center.zoom); this.map.addControl(new GSmallMapControl()); this.map.addControl(new GMapTypeControl()); this.map.enableGoogleBar(); GEvent.bind(this.map,'click',this,this.set_point); Any ideas how do I fix this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
