Flex モバイルの場合、Google (非推奨)、 ArcGIS、MapQuestなどの .swc ファイルを使用してマップを表示する方法がいくつかあります...
次に、おそらく組み込みブラウザー ( StageWebViewコンポーネント) を Google マップ JS API で使用できます...
最後に、Google による静的な地図画像を使用できます。現在、デスクトップからモバイルへのクイック ポートで使用していますが、見栄えが悪く、パンできません。
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
title="{data.city}">
<fx:Declarations>
<s:MultiDPIBitmapSource id="BACK"
source160dpi="@Embed('assets/icons/low-res/back.png')"
source240dpi="@Embed('assets/icons/mid-res/back.png')"
source320dpi="@Embed('assets/icons/high-res/back.png')"/>
</fx:Declarations>
<fx:Script>
<![CDATA[
private static const MAP:String =
'http://maps.google.com/maps/api/staticmap?sensor=false&language=ru&maptype=roadmap&size=400x400&markers=';
]]>
</fx:Script>
<s:states>
<s:State name="portrait"/>
<s:State name="landscape"/>
</s:states>
<s:navigationContent>
<s:Button icon="{BACK}" label.landscape="Назад" click="navigator.popView()"/>
</s:navigationContent>
<s:BitmapImage source="{MAP + '' + encodeURI(data.city)}" width="100%" height="100%" scaleMode="zoom" />
</s:View>
しかし、私の質問は次のとおりです:特別な URL ( ?) を作成し、 navigateToUrlを呼び出すことによって、Android デバイスおよび iPhone/iPad で提供されるネイティブ マップを使用する方法はありますか?map:///