Add A Polygon As A Marker In Google Maps Flash Api?
May 9, 2011
I am creating a project in Flash using the Google Maps API and docs. I'm trying to add a marker to the map, which is draggable but I don't want it to look like the standard Google Maps bubble-style marker. Is it possible to have a custom polygon or image but still keep the draggability?
View 2 Replies
Similar Posts:
Jul 19, 2011
In Google Maps Flash API, When the user clicks, or hovers on a marker, is there a way to dispatch an event containing the ID or lat/lon so this info can be used by the application?
View 1 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
May 12, 2011
I tried to adopt this recipe by shane doolan see below(source: [URL]). I could pull data from mysql with php (like so [URL]) and overlay on the map however I couldn't get the data load too the mxml custom infowindow when clicking on markers. Here's the mxml application:
[Code]...
View 1 Replies
Jan 12, 2011
how to identify which marker overlay is being clicked.
I've looked up solutions online and the only thing that ever traces back for me is [object Marker] I need a way to identify the marker icon and manipulate the icon.
this is the marker code:
ActionScript Code:
function createMarker(latlng:LatLng, number:Number, tip, myTitle, myContent):Marker {
trace(this);
[Code]....
View 1 Replies
Mar 2, 2011
I have to create a marker with 3 triangles at 120 degrees with each other. The fill colour of the three triangles will be different (to be decided depending upon the value of some other variable).
Google Maps can accept DisplayObjects as markers. How do I go about creating one manually?
View 1 Replies
Mar 12, 2012
Place a movieclip button as a marker using Google Maps API
View 0 Replies
Sep 9, 2009
I have created a site for my relative's garden. They have already registered there location and info with google maps and I have already installed the api in the site. I also, already have the map located on their location with an pin over it, but I was trying to figure out how to make the map pull the information that pops up when you click that pin. Do I need to create that myself or is there a way I can pull that from google? Here is a link to the site: [URL]
View 1 Replies
Dec 16, 2009
I creating a flash app that loads a RSS of a plublic map with a custom route path and draws lines from the coordinates on a Away3D Sphere.It works preety well when I'm testing locally, but when I publish online, the app can't load the RSS. I think Google Maps disable access from other domains.Does anyone knows another way to access this map RSS directly from google? Now to fix this, I'm hosting the RSS.
View 2 Replies
Aug 20, 2009
Does anyone know if it's at all possible to embedd a google maps image that's created using code generated by google? The Image is interactive, the main reason to embedd in flash as apposed to a flat image.
<iframe width="300" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Swansea,+U K&sll=37.0625,-95.677068&sspn=49.357162,79.013672&ie=UTF8&split=0&t=k& ll=51.620361,-3.946495&spn=0.063948,0.102997&z=12&iwloc=A&output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&q=Swansea, +UK&sll=37.0625,-95.677068&sspn=49.357162,79.013672&ie=UTF8&split=0&t= k&ll=51.620361,-3.946495&spn=0.063948,0.102997&z=12&iwloc=A" style="color:#0000FF;text-align:left">View Larger Map</a></small>
View 1 Replies
Jul 14, 2010
I am using the google maps API with regular key (not premier).When connecting to my server with http, everything works fine, but when connecting with https i receive the following instead of map: initialization failed please check the API key swf location, version and network availability.Is that because it is not premier key? can I force the google maps API to use http instead of https so that I will receive the maps?
View 2 Replies
Mar 21, 2011
I want to color or increase the the size of the inland border lines, is that possible?
View 1 Replies
Sep 6, 2005
how close to a google maps like interface can be created in flash. Could this be a new opensource project?What the project needs:
-Be customizable via xml (load any map you want zooming options etc)
-Load maps dynamicaly acording to zoom level
-Easy to scale (this way it can be viewed in regular compters as well as mobile devices)
-Easy to plot points and save to db or xml file
-As you drag map to one side it would load map images to fill empty space created.
View 4 Replies
May 27, 2009
how do I get a location that I want in the API? Is this another piece of code I need to define in the API or actionscript.
View 2 Replies
Nov 19, 2009
I'm trying to write a test page which a customer can send us to identify whether they can use various parts of our site. Typical support stuff I guess.Anyway, the test for flash is straightforward enough, but can anyone suggest how I might test if they can access the Google Maps API on their browser?
View 2 Replies
May 20, 2010
I have a simple Map and geocoding sample in Flash using CS4.The problem is simple - I can retrieve a short list from the google search api, but when I try to generate the icons on the map using a loop, only the last icon is displayed. (ignore the house icon, it is generated earlier)
I feel I am missing something or made a stupid AS3 mistake (like treating it as if it was c#) - or even a stupid wood-for-the-trees mistake. The problem is in the last line of the code
import com.google.maps.services.ClientGeocoder;
import com.google.maps.services.GeocodingEvent;
import com.google.maps.LatLng;[code].....
View 1 Replies
Mar 23, 2011
I'm working on a project, written in AS3. I'm using the Google Maps API to load different maps, add custom markers, ... All that works, but I'd like to create something different. Imagine it being an application to create an itinerary. There are 10 markers on my map, and the user could click all of them to create an itinerary between those markers. I've tried with Polyline, but that only creates lines from one point to the other without following the actual roads. Then I've found out about the existence of "Directions" and "Route" in the Google Maps API, but I can't wrap my head around that. Or I'm doing something really wrong. Also, that is for one point to the other - mine needs to have multiple waypoints. I've found dozens of examples on how to do it with JavaScript, but the project HAS to be made in AS3. (Yeah, ... I know) If there's anyone who could give me a push in the right direction,
View 1 Replies
Sep 10, 2011
I created a map with the Google Map API For Flash that shows directions. It creates a line between the 2 addresses and gives turnbyturn directions.
This is working perfectly in Flash test mode locally but once i put it online The map still works but the directions dont show and i get the Failure status 400.
Does anywone know whats the problem here? I'ts driving me crazy just because its working locally but not online.
DirectionsEvent.DIRECTIONS_FAILURE.feature.status = 400
View 2 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
Dec 9, 2009
I have a site fully designed using as3 classes. My design is based on a liquid layout. All the assets and elements dinamically generated are inside a container. When the browser resizes, the container relocates itself in a determinate position. I put the google API inside a Sprite as a holder. This holder is generated dinamically. When the API is visible and the browser resizes, all the content moves away.
If the zoom value of the setCenter method is 1, the map center itself on the browser, avoiding any method. If the value is higher, the content goes away according to the zoom value. Exist any conflict between this api and the resize stage event? How is possible to avoid the api takes control over the movie?
View 2 Replies
Apr 19, 2006
Is it possible to get google maps into flash without using a browser, so in the stand alone player.
Here is an example [URL] but I think it uses code that in the browser as well, so this wouldn't run in a stand alone player?
View 2 Replies
Oct 3, 2010
I want to make a *.SWF in which the user inserts an address in the first frame, then in the second frame Google Maps shows that place. The problem is that I don't know how to zoom on a point without LatLng parameter. Probably, Geocoding would be the solution, but as I said earlier, I don't understand how it works in Flash. Could someone please either post a few lines or direct me to an example of geocoding in Flash?
View 2 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 27, 2012
I'm using the google maps API v3 with flash and it works fine on one of my websites.I transfered it to another website and changed the API key, but all I see is the defaultbackground color with no error message. Unfortunatly, I cannot access the flash source code.Is there a way to debug the application or see some error messages without the source code?
View 2 Replies
Feb 23, 2012
I know there´s an api for flash but it has been deprecated, how can i display google maps inside flash using javascript api v3
View 1 Replies
Oct 6, 2010
I have google flex application for postcode search, How do I import the Swf file from flex into flash so I could add more movie clips like zooming effects and 3d rotation
View 3 Replies
Aug 13, 2007
Just a quick one for any popup mapping from flash. I am wanting to do a pop up that displays the directions from "A" to "B". This string would work
Code: [URL]
The only thing is I don't want to work out the in between points but rather just pass the two lat,lon values and have the google engine complete the rest.
View 1 Replies
Dec 18, 2009
I am using google map api. Is there any way to put title in marker?
View 1 Replies
May 9, 2010
I am planning to build a web application highly based on Google Maps API. I am considering either using the Javascript version, or the Flash version. I would like to create an interface which will be quite rich. Should I go for JS version of the API or Flash one? Also I do not plan to purchase Flex Builder, so ideally I would like to use some free Flex SDK that supports ActionScript. What would you recommend? Is it more reasonable to use JS or maybe better use the Flash Version. What are the limitations, pros and cons?
View 3 Replies