ActionScript 3.0 :: Disable Google Maps Terms Of Use Link?
Aug 16, 2011
Is there a way to disable the link at the bottom of a google map?I am doing the map in flash as3 and it should not have anything popping ut..tried putting layer on top of it but when it runs the layer disappears.here's my code:
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.
I was asked by my company to make a store locator for our website but I only have basic knowledge of Actionscript and XML. What I would like to do is have an Input text box with a search button and an dynamic text box to display the results. Whatever is typed into the input box is what I want to search the XML file for.
I would like to have 6 variables to search for and 1 variable that holds the URL infoStoreName, Address, City, StateShort, StateLong , ZipCode, Link).
Now For example if someone typed "CA" or "California" all entries that have CA as its StateShort or California as it's StateLong atribute would be displayed, something for the rest as well.
In addition to displaying the info in the text box I would like the output to be links so that I can link the location to a popup of the location in google maps.
Here is how I my XML file looks:
Code: <?xml version="1.0"?> <root> <StoreEntry>
[Code].....
I can display an entry in the XML in flash. However it keeps displaying only the last one. I think I am going to need assistance fixing this.
I am still trying to implement the search feature but I still don�t know how yet. And last but not least, making the text clickable.
My guess is that I need to make invisible movie clips and place them over the text box in rows. Then add some sort of generic on (release) function that grabs the link of the line of text beneath it.
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]
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.
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.
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]
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?
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]...
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.
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.
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?
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?
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.
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
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,
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?
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.
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 ?
searched for this but dont exactly know how to name it. instead of geocoding this address '2880 broadway, New York, NY', i would like to geocode the name of a business (restaurant, cafe, etc..) like 'Seinfeld diner' anybody knows how to name that? or which functionality in the API i need to look for?
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?
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;