As a follow-up to our recent workshop at Santa Fe, I've put a
Monticello package up at http://seaside.gemstone.com/ss/ GoogleMaps.html. This is based very closely on http://code.google.com/apis/maps/documentation/examples/ in that it has hard-coded JavaScript. No effort yet in making a true OO library that provides Smalltalk objects to manage the underlying maps. Mostly, this is a research effort to discover what capabilities are being exposed by the examples and put them in Smalltalk classes. If you want to be added as a developer on the repository, let me know. James Foster _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On Mon, Apr 6, 2009 at 11:12 AM, James Foster <[hidden email]> wrote: As a follow-up to our recent workshop at Santa Fe, I've put a Monticello package up at http://seaside.gemstone.com/ss/GoogleMaps.html. This is based very closely on http://code.google.com/apis/maps/documentation/examples/ in that it has hard-coded JavaScript. No effort yet in making a true OO library that provides Smalltalk objects to manage the underlying maps. Mostly, this is a research effort to discover what capabilities are being exposed by the examples and put them in Smalltalk classes. I need something like this :) Is this compatible with squeak/pharo? Thanks in advance, Mariano
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On Apr 7, 2009, at 4:22 PM, Mariano Martinez Peck wrote:
James
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi James, when loading the latest into pharo (#10213) the installer complains about a missing class: BinaryFloat. Unable to load definition BinaryFloat>>gmAsString. Haven't been able to determine if the class is part of any other package. Any suggestions would help. Thank you. Tim _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On Apr 8, 2009, at 9:49 AM, Timothy James Ziebart wrote:
Good catch! BinaryFloat is in GemStone but not in Squeak. I've moved the method up to Number to avoid this problem. Try loading GoogleMaps-jgf.12.mcz and let me know. James _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
James Foster wrote:
That solved but I get the following error in syntax: GMTestLatLng other testNothing testNothing more expected ->_gmAsString | gLatLng string | gLatLng := GLatLng latitude: 45 longitude: -122. string := gLatLng gmAsString. self assert: string = 'new GLatLng(45,-122)'. Tim _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Timothy James Ziebart wrote:
> James Foster wrote: >> On Apr 8, 2009, at 9:49 AM, Timothy James Ziebart wrote: >>>> >>> Hi James, >>> when loading the latest into pharo (#10213) the installer complains >>> about a *missing class: BinaryFloat. Unable to load definition >>> BinaryFloat>>gmAsString*. >>> >>> Haven't been able to determine if the class is part of any other >>> package. Any suggestions would help. >>> Thank you. >>> >>> Tim >> >> Good catch! BinaryFloat is in GemStone but not in Squeak. I've moved >> the method up to Number to avoid this problem. Try loading >> GoogleMaps-jgf.12.mcz and let me know. >> >> James >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> > > That solved but I get the following error in syntax: > > GMTestLatLng other testNothing > > testNothing more expected ->_gmAsString > > | gLatLng string | > gLatLng := GLatLng > latitude: 45 > longitude: -122. > string := gLatLng gmAsString. > self assert: string = 'new GLatLng(45,-122)'. method called testNothingGmAsString, and then remove the original method? frank _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On Apr 8, 2009, at 11:43 AM, Frank Shearar wrote: > Timothy James Ziebart wrote: >> >> >> That solved but I get the following error in syntax: >> >> GMTestLatLng other testNothing >> >> testNothing more expected ->_gmAsString >> >> | gLatLng string | >> gLatLng := GLatLng >> latitude: 45 >> longitude: -122. >> string := gLatLng gmAsString. >> self assert: string = 'new GLatLng(45,-122)'. > Remove the _ from the method name. Perhaps you can copy the code to > a method called testNothingGmAsString, and then remove the original > method? > > frank Yes, GemStone allows underscore in method names. Try GoogleMaps-jgf. 14.mcz. Jamse _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
On Wed, Apr 8, 2009 at 3:52 PM, James Foster <[hidden email]> wrote:
Nice!!! It works perfect now. Thanks a lot James. I will use it for a informal tourism webpage I am making :) Cheers and thanks for sharing this with us. Mariano
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |