I posted this to the wrong thread, oops. I think i fixed it ;)
http://www.geostart.nl/test.html 2010/4/22 TK <[email protected]> > > Hi again, > > Still have errors > > error: missing ) after argument list > file: http://www.shift.jp.org/ja/map/index.html > line: 49 > code: function createMarker(name, latlng) { > > error: initialize is not defined > file: http://www.shift.jp.org/ja/map/index.html > line: 1 > > Sorry many ask. > > > On Apr 22, 3:33 pm, Cosmin Pitu <[email protected]> wrote: > > Hi again, > > > > I think the problem is that you are closing the initialize() function > > as if it were a closure (e.g. something like > > "google.maps.event.addListener(foo, function() { });" , notice the > > usage of "});" instead of regular "}"), try changing : > > > > "mgr.addMarkers(markersForManager, 1, 22); > > mgr.refresh(); > > }); > > > > }); " > > > > into > > > > "mgr.addMarkers(markersForManager, 1, 22); > > mgr.refresh(); > > });} " // function initialize() { } not function initialize() { }); - > > > > there's no parenthesis to close > > > > You might want to fix the indenting as Bjorn indicated. > > The call to refresh is ok, it's after the "for(". > > > > Hope this helps ! > > > > -- > > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > > To post to this group, send email to > [email protected]. > > To unsubscribe from this group, send email to > [email protected]<google-maps-js-api-v3%[email protected]> > . > > For more options, visit this group athttp:// > groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- Bjorn Brala ---------------- www.GeoStart.nl/english/ - Google maps - Swis Webdesign www.twitter.com/bbrala -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
