I wanted an example that:
* Embedded Google maps in a clean, developer-friendly way.
* Was full-featured (allowed a user to search for an address, and add a marker there).
* Passed information (such as where to add a marker) from the OpenLaszlo application to the map component.
* Passed information (such as the address of the marker that a user clicked) from the map to an object in the OpenLaszlo namespace.
Note that the Google Maps geocoding service is Flash-specific. Even though it passes XML back to the client, you need to use Google’s Flash-based APIs to call it. I didn’t want to do this; I wanted my example to perform the search in OpenLaszlo, and pass instructions to the map component. So I used Yahoo Maps’ excellent geocoding service.
Here are the instructions on how to do this
A great article by Antun on embedding Gogle maps in OpenLaszlo.
Nice thing is that this looks to work well for a project I’m looking at doing as well. Thanks, Antun!