ActionScript 3.0 :: Identifying Marker Overlay In Google Maps

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


Similar Posts:


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

Events - Flash Google Maps: Get Id Of A Marker OnClick

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

Flex :: Create A Flat Marker In Google Maps 3d Flash Api?

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

Actionscript 3 :: Create Custom Marker In Google Maps For Flex

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

ActionScript 3.0 :: Place A Movieclip Button As A Marker Using Google Maps API

Mar 12, 2012

Place a movieclip button as a marker using Google Maps API

View 0 Replies

Actionscript 3 :: Google Maps API - Make An Interactive Overlay?

Jun 7, 2011

I have a Google Map in my Flash project with a polygon overlay. Is it possible to add to that overlay an EventListener so it triggers a function? All I can find in the API reference is something called "MapMouseEvent" but I can't figure out if that is what I need or how it works.

View 1 Replies

Actionscript 3 :: Load Marker Data To Google Flash Maps MXML Custom InfoWindow

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

Actionscript 3.0 :: Pulling Info From Google Maps Into Maps Api?

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

ActionScript 3.0 :: Google Map API - How To Put Title In Marker

Dec 18, 2009

I am using google map api. Is there any way to put title in marker?

View 1 Replies

Flash :: Loading "maps" Rss From Google Maps?

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

Flex :: Overlay Circles On Google Map?

Feb 14, 2011

I want to use semi transparent circles to show the intensity of the effect by altering the radius of the circle and animate it while placing them. for example it appears as a dot and then grows to the intended size in fraction of a sec.

I could see some functions in javascript API but not in Flex. Saw some examples that uses polygon. But i dont want to plot all 360 points for just one circle.

View 2 Replies

AS 2 :: Use Google Maps In It?

Apr 12, 2010

Ive finished working on a A.S 2 flash website and now need to add google maps to it. Currently Google maps only seem to support A.S 3.

View 1 Replies

Flex :: How To Use Google Maps

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

Add Google Maps To Contact Page?

Jan 25, 2011

I have a website completly done with flash How can I add google maps to my contact page using AS2?

View 6 Replies

Google Maps Embedded In Flash?

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

ActionScript 3.0 :: Elevation In Google Maps

Apr 5, 2011

I've created the current code which takes an address and geocodes the location with a marker.I now need to find the elevation at that location and get an error during runtime in the output window of: "TypeError: Error #1009: Cannot access a property or method of a null object reference." It is on the line that says, "elevator.loadElevationForLocations(locationArray);".[code]

View 5 Replies

Flash :: Google Maps Api And Https?

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

Google Maps (flash) - Using The MapTypeStyle?

Mar 21, 2011

I want to color or increase the the size of the inland border lines, is that possible?

View 1 Replies

Actionscript 3.0 :: Most Efficient Way To Use Google Maps?

Sep 30, 2009

I have a google map in my site, and have all the code in the main timeline. I'm pretty sure this is affecting my intro animation due to google maps importing. Is there an efficient way to do this, so that it won't affect the intro?[url]...

View 2 Replies

Actionscript 3.0 :: Preloading Google Maps API?

Jan 19, 2010

I have scoured the internet and I cannot find out how to preload my Google Maps API,

View 5 Replies

ActionScript 2.0 :: Google Maps In Flash

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

Actionscript :: Pan And Zoom Like Google Maps?

Aug 27, 2007

This website does an awesome job of controlling pan and zoom for the main movie:[URL].. What I want to do is something similar but also allow for the user to click and drag the larger picture.

View 4 Replies

IDE :: Displaying Google Maps In Flash

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

IDE :: Google Maps In Offline AIR Application?

Jan 6, 2010

I am looking into building an AIR application that will show positions of locations and associated details in layers over maps. The positions will be entered into the application as GPS coordinates. The users of this application will only need to look at one country and will not always have internet access. Is it possible to do this with Google maps?Is Google maps the best solution for this?Do you know of other packages that would offer similar functionality to Google maps in Flex/Flash?

View 1 Replies

Test For Availability Of Google Maps Flash API?

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

Implement Google-maps-like Zoom-and-pan System In Web?

Jan 12, 2010

I'm writing a ticket-shop-system atm for reserving tickets for various concerts.What I have is a php-backend and a webpage that shows a .swf with some actionsscript-3 code in it, to draw in flash some sort of map and make available seats clickable for the end-user.The problem with this solution is, that there are quite large halls and just making the seats smaller isn't the right solution.

View 3 Replies

Flash And Google Maps - Only Last Icon Showing?

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

Flash :: Create Itinerary With Google Maps In AS3

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

Flash :: Google Maps Api Directions Failure 400?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved