Flex :: Google Earth API For Flash?
Nov 15, 2010
are there any Flash/Flex API for Google Earth like the Map API? i haven't seen an API in Google earth API official page. or is there any way to use all the features of its javascript API with actionscript/flex.
View 1 Replies
Similar Posts:
Dec 18, 2010
i have successfully integrated Google earth with Flex using ExternalInterface.call("javascriptMethodName") method and writing the javascript stuff in the html file which embeds the swf file. it ran and loaded Google earth successfully.
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script src="http://earth-api-samples.googlecode.com/svn/trunk/lib/kmldomwalk.js" type="text/javascript"> </script>
[Code].....
this is a snippet of that html file but when i add something like to the html file:
var directionsService = new google.maps.DirectionsService();
View 1 Replies
Mar 7, 2012
I am studying land surveying and cartography and I am doing my final project. I am trying to make a google earth like map in Flash.I already have the map , in the form of swf files.
View 1 Replies
May 20, 2011
I'm trying to extend KmlPlacemark in the Google Earth API. Google uses factory methods to create the objects so I can't do something like this:
KmlPlacemark.prototype.foo = fuction(){...}
I tried to simply add methods to each of the objects after they were created
function foo(){...}
placemarkObj.foo = foo;
but it throws
Error: Trying to add unsupported property on NPObject!
View 2 Replies
Jan 27, 2010
Is there any way to create a zoom in to a location like Google Earth for a site?
I think, I can do this with a slide show in Flash or jQuery, but I would like to know if there is a better alternative way!
View 2 Replies
Jun 21, 2010
I wanted to put a search box in my flex app that would act just like google or google finance: you start typing and a drop down list just below starts filtering the results dynamically. Does anyone know how to do this in flex? I am using flex and php so as the user types it will pull results off the server dynamically.
View 1 Replies
Jul 8, 2010
So I was using a handy dandy tutorial that I'd found and I came across A double equals sign ==
Code:
if (numPoints == 0) {
point1.x = evt.localX;
point1.y = evt.localY;
drawBoard.addChild(point1);
numPoints = 1;
it was used like that to create a drawing board for other objects to be drawn.
View 3 Replies
Apr 7, 2011
This is really stupid and unimportant but things like this bug me and make me want to know why they happen. I made a movieclip named "earth1" and put an instance on the stage named "earth". If I refer to "earth" in code I get "1046: Type was not found or was not a compile-time constant: earth." If I use any other name such as "earth12" or "earthMC" it works fine. So I already have a "solution", but what's wrong with the name earth?
View 2 Replies
Aug 27, 2010
I have earth object how I can rotate into 3d in flash with 3d feature or shall i need to use papervision 3d?
View 3 Replies
Mar 15, 2007
[URL]I have a huge image .. about 16 mb JPG. It is a map of big housing society and i need to make an flash application that should work like Flash Earth to display , pane , zoom like Flash Earth. want to load that image in such a way thay it load in lower resolution and become detailed on zooming . What should i use to make that application working.
View 3 Replies
Feb 9, 2010
I want to create an animating sphere representing the earth but here is the catch I want the users to be able to spin it round in real time, what tools will do the trick?
View 3 Replies
Mar 29, 2011
I am trying to get the RequestToken with flex from
[Code]...
View 3 Replies
Sep 11, 2011
Since Google has announced that it is deprecating Google Maps for Flash, I am need of some alternatives.elaborate here in order to get the best pick of the maps, since the google maps for flash will be deprecated in next 3 years. Let's get here the best opinions of the peoples - which maps which is build on the Flash platform shall be used instead ?
View 1 Replies
Nov 23, 2009
40k of compiled code seems like a lot to me to be making some straightforward flash-javascript calls and makes GA unsuitable for banner ad work as well.
Does anyone know if there is a 'lite' version of Google Analytics for Flash?
View 5 Replies
Oct 31, 2010
I am creating a little map app where you are given information, video and images regarding different campuses in a university. I am using the customContent method to insert video player object into the infoWindow but when I do this it gets rid of my text content and becomes the only visible thing to the user. How Can I work around this and have both text and video in the infoWindow? Demo link
[Code]...
View 1 Replies
Dec 3, 2010
I'm getting the following error with Google Maps API: TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.google.maps.overlays::Polyline() Specifying the second constructor parameter does not help.
View 1 Replies
Jan 8, 2011
I am trying to get my Flex application to authenticate with google using the instructions here:Url...I have copied the example there and am trying to get it to work. I am running my app on a loca server so I have changed the next parameter: authSubParams['next'] =UrL...Getting the first token works fine but when I try to get the long lived token I get an error: [code]
View 2 Replies
Oct 5, 2009
When using map3d, the default marker creation is always perpendicular to the viewport. How can I create a marker that lays down flat against the map? I can't use GroundOverlay because it becomes overly tiny when the map is zoomed out. How can I create a matrix3d object that will rotate/scale/skew my Marker's foreground DisplayObject so it remains flat against the map when in perspective mode?
View 1 Replies
Jul 3, 2011
I am evaluating flex for a mobile and a web application and one of things I want to be able to do is show a google docs or a microsoft docs file (doc,ppt) within a flex application. Google docs files are published as web pages so I guess you need a html component with javascript enabled. Does such a component exist in flex 4+? Similarly how would I go about showing a word or a powerpoint file inside a flex app? How does a site like slideshare or scribd do it?
View 1 Replies
Apr 1, 2010
With the Google Maps Flash API, I want to add an event listener which fires when the Marker is added to the Map using
map.addOverlay();
Event.ADDED_TO_STAGE
is not fired, though it seems logical. What are the alternatives?
View 1 Replies
Jan 12, 2011
i have my project developed in Flex3, http:[url]....i am facing is, copying(Ctrl + C) the content from screen textarea when the swf is running in chrome browser.suppose, i have to add some text on the stage, so the text area which is opened on the left side, i can't copy the text written in text area, although by right clicking in text area, and selcting the copy option, thats working, but my client has asked for copying the content by using Ctrl + c, although it's working very fine with other browsers,
only chrome is not supporting copying(Ctrl + c), although selecting all(Ctrl + A ) is working.
View 2 Replies
Mar 17, 2011
I created a 3D globe in 3DS Max, put on render and would like to now be able to this object using the mouse to offend 360 degrees on one axis. Unfortunately, I do not know how to go about it.
View 0 Replies
Feb 11, 2009
i am trying to make a new website where i want to add the map of the earth.My problem is that i want to make each country on the map, a different link. so for example if someone will click USA on the map, he will be redirected to a different page, relevant to USA.
View 3 Replies
Aug 17, 2010
I am writing a Flex application for use on a private intranet with no external Internet access. I want to use Google's 3D Maps Flex API, but it must be connected to the internet to download map tiles on demand.
Is there a way to locally cache the 3D map tiles and data so that I can run this app without an internet connection? And if not, is there a 3D GIS that supports Flex integration and allows for a local map cache?
View 1 Replies
Dec 16, 2011
package examples {
import away3d.animators.Animator;
import away3d.animators.BonesAnimator;
import away3d.containers.ObjectContainer3D;
import away3d.containers.Scene3D;
import away3d.containers.View3D;
[Code]....
that is actually a tutorial that i got from internet. but, when i tried to change the object, i failed to display the animation of my earth object. i wonder, what is the 'default' means in that code.
View 0 Replies
May 11, 2011
I'm using Google Maps with Flex 3. I'm having problems clearing markers. Users can select which data they want marked on the map by selecting an item in a comboBox. I also have a button that clears the markers:
[Code]...
View 1 Replies
Aug 5, 2011
I have a Google map in my flex app that I need to occasionally export to an image file. Every time I try to call the, Map.getPrintableBitmap() or ImageSnapshot.captureBitmapData() functions I get the Error #2123: Security sandbox violation.I've tried adding various security allowances like:[code]I'm asking for a bitmap representation of a component that's already been drawn on the client's screen. Clearly all the information necessary to provide that bitmap is already present in local memory.[code]
View 3 Replies
Mar 1, 2012
Is there anyway not to use .swc from google maps for the flex application, as the application i want to develop will be accessible on mobile also.
View 2 Replies
Sep 29, 2009
So I would like to include pageTracker code in the iFrames that is being called.However the iFrames in this case are called from Flex. We are building a pop up and calling the iframes within the pop up.
In this scenario, what is the best way to include the pageTracker code to track and trasnfer the visitor and campaign cookies from one domain to the next?
View 1 Replies
Oct 26, 2009
How do I create a progress bar on top of google map in flex/as3? I tried to ask google maps API for flash, but no answer... May be some of you have done this already.
View 1 Replies