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


Similar Posts:


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 :: 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

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

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

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

Flash :: Flex - Google Maps API Custom Content

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

Flex :: Use Standard Map Marker Instead Of Custom Marker?

May 10, 2011

I'm using Google Maps with Flex 3. I'm using custom markers (custom icons) to mark places on the map. It works fine. The problem is that in some cases, I don't need a custom icon, I need the standard marker.

For example, how would I set condition C's icon to the standard marker:

public function iconSetter():void {
if (condition A blah blah){myIcon=star; myPointsBuilder(); return;}
if (condition B blah blah){myIcon=circle; myPointsBuilder(); return;}

[Code].....

I don't know how to revert to the default marker where I wrote "STANDARD MARKER".

View 1 Replies

ActionScript 3.0 :: Google Maps Custom Icon

Jun 30, 2010

I have made a custom icon for flash googlemaps; however, now the infowindow does not line up with the marker as it does with the default marker; my custom marker, mc_marker, is positioned with the 'point' at (0,0); I have been unable to find any rules for creating custom markers ... seems like a no-brainer;

View 4 Replies

Actionscript 3 :: Display Custom Tile For Missing Tiles In Google Maps App

Mar 16, 2010

I am working with google maps in flash, and i would like to know how to serve up my own image tile for the "we have no imagery at this zoom level..." error. I dont want to serve up an entire map of images - just for the times when google has no image does the tile layer base dispatch an event? (i couldnt find any in the api) is there a method that can be overridden by extending the tilelayerbase class

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

Flex :: Library To Create Schematic Maps (ie - Tube - Metro Maps) In Flash

Jun 21, 2011

I have a project that requires me to create interactive schematic maps for rail networks. Something along the lines of London's tube map (Not the tube map itself. Are there any flash libraries out there that can assist with this sort of thing?

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

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

Flex :: Google Maps For Flash Is Deprecated?

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

Html :: Embed A Google Maps API Javascript In Flex?

Apr 11, 2012

How could I embed a Google Maps API Javascrip on my Flex Application?I found some examples, but none of them worked for me.

http://javey.net/bike/map/player5/map.html?gpx=http://javey.net/bike/gpx/24-nov-2007.gpx&title=Sheldon.Road.Trail http://note19.com/2007/11/22/how-to-embed-google-map-in-flex/

View 3 Replies

Flex :: Google Maps For Flash Throws RTE In New Polyline()

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

Google Maps In Flex Withiout Mxml Component?

Aug 14, 2011

How do I add google maps as Class into main.mxml withiout <maps:Map key="" sensor="" />

[Code]...

View 1 Replies

Flex :: How Does One Implement The Google Maps 3D API (or Similar) For Flex With A Local Map Cache

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

Flex :: Adding Google Maps Markers By An Address Instead Of Coordinates?

Apr 12, 2011

In my Flex project, can I add markers by its address instead of this:var myGeographicCoordinates:LatLng = new LatLng(myLatitude, myLongitude);for example add marker by "Paris, France"

View 2 Replies

Flex :: Google Maps - Enable / Disable GoogleMaps In A 3 Application?

Oct 13, 2011

I'm developing an application using the Google Maps API with Adobe Flex Builder 3. Wrote the "HelloWorld" code provided by the GoogleMaps Reference...

[Code]...

everything goes well but the application consist on a cartesian plane that, optionally, could have the GoogleMap displayed on the background. The point is that I don't know how to hide the map once it is loaded. I would like to load it only if I click on a checkbox
I came here after searching over the GoogleMaps Reference for some "enable/disable map" function, but I had no luck.

View 1 Replies

ActionScript 3.0 :: Create A Custom Class That Extends The MovieClip Class And Contains A Custom Property Of "marker"

Jan 23, 2010

I am new to AS3, as well as Flash in general, so forgive me if this seems highly elementary. All I am trying to do is create a custom class that extends the MovieClip class and contains a custom property of "marker". I want to be able to use and change the value of this custom property on the timeline for an instance of this class and have it behave just like any other (Ex: this.x ==> this.marker).

[Code].....

View 13 Replies

Flex :: Google Maps & Flex: Clearing Markers

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

Actionscript :: Google Maps - Flex Multiple Markers Not Matching Tooltip Or Lat Lng?

Dec 17, 2011

I had this same issue when I created an application using google's javascript API and the solution was to have closure on the callback function creating the multiple markers.I can not seem to find an example for making multiple custom markers, with anything other than using some random math function to create the multiple markers.

GlobalVars is a class that contains static public var types to keep up with however many addressess, lats, lngs, etc...I have tried using markermanager but it has some issues that I finally just gave up on. Starting with

retrieveLatLngAddress.addEventListener(GeocodingEvent.GEOCODING_SUCCESS, function(event:GeocodingEvent):void{

This is where I begin geocoding by address, rather than using an httpservice, as I was doing before, but I ran into issues of one httpservice result would return faster than another, which would in turn place the wrong data with the wrong marker.

Obviously, I have not found a solution, because this way is doing the same thing.Question being, how can I retrieve multiple markers info and keep all the markeroptions in order with the information being returned.

Here's the code:

public function makeMultipleMarkers(destinationAllObj:Object):void {
removeRouteMarkers();
myMarkers = [];
GlobalVars.myIcon = [];

[code]....

View 1 Replies

Flex :: A Custom Embedded Marker For A LegendItem In A Chart?

Aug 15, 2011

I've been working with the flex charting component and I want to embed a custom icon for the marker in the legend. I've run into some strange behaviour where if set directly the icon is mirrored and the text is misaligned but if created using the a class factory and the legendMarkerRenderer property the component renders fine. I've included a snippet to illustrate the problem below. Working around this problem may be possible but I'm curious if anyone has an explanation as to what could be going on here. Additional info: Flex SDK 4.5.0.20967, FlashBuilder 4.5This is the output of the below snippet:

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark">
<fx:Script>

[code]......

View 1 Replies

Flex :: Do Google Maps Flash API Markers Fire Event When Added To Stage?

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

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

IDE :: Create A Custom Map Chart Of The World, Using Google Map?

Feb 19, 2010

Has anyone created a custom map chart of the world using Flash 8? I read in few places that its possible with a component but cannot seem to find the right one.

I need to create a custom heat map (map chart) which is based on the global map, and shows the performance all of the world's unemployment rate. Some alike this interactive swine flu map

However this is a map software but I need a component so to integrate the map inside my own flash application, is there a Flash 8 component which made it easier to create such map?

View 1 Replies







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