Wiki  |   Blog  |   Sitemap  |   Search  
Home
JavaScript UI FrameworkExamplesUI Languages (SVG, XUL..)AUI examplesGoogle Maps API (XML)

Google Maps API (XML)

Elements map, marker and route present in the AML give you an easy and efficient way of using Google Maps API without a need for Javascript knowledge. Layout you interface with XML!

Source code

<script type="application/ample+xml" xmlns:aui="http://www.amplesdk.com/ns/aui"> <aui:map style="height: 300px; width: 574px; border: double 3px silver;" longitude="37.4419" latitude="-122.1419" altitude="13"> <aui:marker longitude="37.4319" latitude="-122.1319" /> <aui:marker longitude="37.4519" latitude="-122.1519"/> </aui:map> </script>

Note! In order for this part of functionality to work in your application you need to obtain a libarary and a key on Google Maps API site.