I once experimented something... was kind of working but not nice code
at all as I tested lots of function (javascript mix with smalltalk
code) !
did you put your proper gmap key ? this could explain why the map is
not showing...
2 important method I guess
updateRoot: aRoot
super updateRoot: aRoot.
aRoot title: 'test GMAP'.
aRoot linkToScript: self class gmapKey. "link to your gmap key"
aRoot addScript: self gmapScript. "here put the google adress of js,
I had a local copy"
aRoot bodyAttributes
at: 'onload'
put: 'load()'.
aRoot bodyAttributes
at: 'onunload'
put: 'GUnload()'
renderGmapOn: html
html html: ' <div id="map" style="width: 950px; height: 400px"></div>'
Sorry I cannot spend more time on it, but this was working for me and
I can't really send you the code as it won't work.
HTH
Cédrick
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside