Hi Emanuele you need put this in your code
map = *new* Map3D;
map.setInitOptions(*new* MapOptions({viewMode :
View.VIEWMODE_ORTHOGONAL,attitude : *new* Attitude(0, 0, 0)}));
map.url =
"*http://www.youapikeyDirectoryINYourWebServer<http://www.youapikeydirectoryinyourwebserver/>
*"
map.key = *"youAPIKEY"*; *//Sitio Publico
*
2010/2/24 Emanuele <[email protected]>
> Hi all,
> we are trying to use API in FLEX/Air.
> It works if:
> - we use a mxml with all the tags the helloworld file says in FLEX/
> Air:
> - it works in pure AS3 with Flash CS4.
>
> Our need is to CONDITIONAL call the map inside a FLEX application
> (AIR) through AS3 without calling the MAPS:MAP tag inside the MXML
> file of our project.
> We could just HIDE the module and display at our needs, but it is not
> what we need.
> If we try to initiate the map inside pure as3 code in Flex, it gives
> "Initialization failed: please specify an application URL.".
>
> Thx a lot
> Emanuele
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps API For Flash" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-api-for-flash%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api-for-flash?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api-for-flash?hl=en.