[Laszlo-dev] YahooMaps OpenLaszlo-API

Henry Minsky henry.minsky at gmail.com
Mon Nov 21 08:46:28 PST 2005


That looks very nice.

When Google Maps came out, some people worked on understanding their HTTP
protocol. But the map images were GIF, so couldn't be displayed directly in
SWF 6. However, with SWF 8, most image formats (JPEG, GIF, PNG) can be
displayed directly without the need for transcoding on a server, so SOLO
OpenLaszlo apps which directly fetch the map data should be possible now,
for people using Flash 8 players.


On 11/21/05, togawa manabu <togawamanabu at laszlomail.com> wrote:
>
> Hi
> I'm trying to make wrapper APIs for YahooMaps.
> Here's a small test-app. (not implemented whole features yet).
>
>
>
> http://laszlo.jp/wiki/index.php?%A5%AB%A5%B9%A5%BF%A5%E0%A5%B3%A5%F3%A5%DD%A1%BC%A5%CD%A5%F3%A5%C8#o45a77b1
>
> <canvas>
>
> <include href="/yahoomaps" />
>
> <simplelayout axis="x" />
> <button text="addMarker" onclick="parent.addMarkerTest()" />
> <button text="addNavigatorWidget" onclick="myMap.addNavigatorWidget()"
> />
> <button text="addPanTool(dragMaps)" onclick="myMap.addPanTool()" />
>
> <window title="OpenLaszlo with YahooMaps Sample" width="570"
> height="440" y="50">
> <ymapMap id="myMap" appid="laszlojapan" zoom="13">
> <method name="onInitMap">
> Debug.write("why can not invoke?");
> </method>
> </ymapMap>
> </window>
>
> <method name="addMarkerTest">
> var laszloMarker = new ymapCustomPOIMarker(canvas,{index:"L!",
> title:"LaszloSystems Inc.", description:"LaszloSystems Headquarters",
> markerColor:0x0000cc, strokeColor:0x33ccff});
>
> var address="2600 Campus Drive Suite 200 San Mateo, CA 94403";
> myMap.addMarkerByAddress(laszloMarker, address);
> myMap.setCenterByAddress(address, 250);
> </method>
>
> </canvas>
>
>
> -------------------------------------------Togawa Manabue-mail :
> webmaster at laszlo.jpLaszloJapan : http://laszlo.jp
>
> --
> Sent using Laszlo Mail. Try it yourself.
> http://www.laszlomail.com
>
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>



--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openlaszlo.org/pipermail/laszlo-dev/attachments/20051121/4fc88418/attachment.html


More information about the Laszlo-dev mailing list