Customized Google Map

To show a Google Map on an swf movie I use this code:
var map:Map = new Map();
map.key = "key";
map.sensor = "false";
map.setSize(new Point(350, 320));
map.x = 380;
map.y = 175;
map.addEventListener(MapEvent.MAP_READY, onMapReady);
this.addChild(map);
function onMapReady(event:Event):void {
     map.addControl(new ZoomControl());
     map.addControl(new MapTypeControl());
     map.setCenter(new LatLng(41.893932,12.488177), 15, MapType.NORMAL_MAP_TYPE);
     var m:Marker = new Marker(new LatLng(41.893932,12.488177));
     map.addOverlay(m);
Now I want that passing the mouse pointer on the marker a baloon with some informations pops up.
How can I do that? I know I have to add and event listener like
map.addEventListener(MapMouseEvent.ROLL_OVER, showBaloon);
but I don't know what to write inside the function.

I've tried this code
var request:URLRequest = new URLRequest("images/img.jpg");
    var imageLoader:Loader = new Loader();
    imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
        function(event:Event):void {
            var options:InfoWindowOptions = new
                InfoWindowOptions({
                    customContent: imageLoader,
                    pointOffset: new Point(0,-30),
                    drawDefaultFrame:true
            map.openInfoWindow(e.latLng,options);
    imageLoader.load(request);
It makes appear the image, but I don't know how to add elements to "customContent" in addition to the image, actually I don't either know if it is possible.

Similar Messages

  • Converting custom Google map to PDF

    Is it possible to take a customized Google map (showing points of interest we've created) and turn it into a pdf that would be zoomable, and in which each of those points would be clickable (or via mouseover) to show information about those points? If the answer is yes, is their functionality that would allow this to be viewed on a mobile device?  Thanks! If there isn't an Adobe solution that would accomplish this, do you know of some other solution?  Here's an example of the type of map I want to be able to convert to PDF and have each icon identifiable in some manner:

    I have a feeling Google would make this as difficult as they can.
    If I'd been asked to do this, I'd be worrying very much about Google's licensing of map data and whether making an "offline copy" was breaking the license. http://www.google.com/permissions/geoguidelines.html. How is your copyright law?
    Google do offer a maps API which can be used to deliver maps on mobile devices. That might be the safer option.

  • Custom Google Map Widget Control for Guide Builder

    Hi,
    I would like to build a custom control for Guide Builder.  This custom control will basically wraps around the Google Map control (provided by Google api for Flex/as3).  This custom map control can then be used as part of Guide Builder when building the guides.
    I am not sure how to go about doing this, or if this is at all possible.  I just want to get an idea before I attempt to do this.  Any help is appreciated.
    Thanks in advance,
    Nelson

    I'm still looking for help on this one, anybody?   Thanks.

  • Customized Google Maps in iPhone

    Hi there,
    In the Google Maps website, I can change my highway preference for specific sections of my route.
    Let me give you an example:
    I am going from Providence, RI to Secaucus, NJ and I do not want to use the George Washington Bridge on 95 South. I actually want to use the Tappan Zee Bridge on route 287 West (NY Exit 21), Route 3 East, and Route 17 South. In Google Maps I calculate the original route and move the route line with the mouse to my preferred path in the specific section of the trip and then Google Maps recalculates the driving maneuvers.
    It does not seem like I can use this feature in the iPhone. Looking forward for your reply.
    Cheers,
    David

    Hi Larry,
    Thanks for your reply. I am very familiar with the route to NJ, but otherwise, I freak out when I have to go on an unfamiliar highway. It took me three trips to NJ to learn that taking the George Washington Bridge was the worst idea. I hope to have other scenic drives (Tapanzee Bridge is awesome), somewhere in the US in the future.
    David

  • How to open a google map link in google maps app?

    Hello,
    I would like to post a link to a custom google map on my blog that could be open on Iphone with the google maps app. Someone would have an idea?
    There maybe a solution with google map url scheme ("comgooglemaps:") but I don't see how to implement it
    Thanks in advance!
    The map:
    https://maps.google.fr/maps/ms?msid=218162555454264993409.0004ddc647279c6f0bde0& msa=0&ll=46.149394,2.329102&spn=16.974756,19.02832

    I think this is not possible as a link on the iPhone will default to the Apple Maps app and there is no way to change this.

  • Custom icons not showing in Google Maps

    I have saved to my public Dropbox folder some custom icons (this folder was recommended by the icon developer).
    The icons can be used and viewed on Google Maps when using IE but not using FF 8.0.

    That is a problem with CORS (Cross-Origin Resource Sharing).
    * http://enable-cors.org/ enable cross-origin resource sharing
    * https://developer.mozilla.org/En/HTTP_access_control
    See this MozillaZine forum thread "My own Google Map icons are not visible in Firefox 8":
    * http://forums.mozillazine.org/viewtopic.php?f=25&t=2359775

  • Corporate Website Design - Make a Static Custom Map or Google Maps

    Could some one please kindly advise on the following:
    What is considered more professional if you are designing a corporate Website.
    1. To design a custom map that shows each rail road crossing and traffic light on the way to the company. But due to the fact that it is a still image suffer from usability issues e.i. not being able to zoom beyond the drawn bitmap.
    2. To embed a well known tool such as Google Maps (that allows world wide zooming), marking the location of the company building with a custom photo pin.
    3. A combination of both points above displayed on one contact us site.
    The above needs to be corporate design conform.
    Thank you in advance for your advice.
    AZ.

    Hi Marian,
    Thank you for the reply,
    1. The audience consists of a the following according to the polls:
    27.5% - Government Official
    9.4% - Network/Association
    8.8% - Student
    8.7% - Academia
    5.8% - NGO Representative
    4.8% - IO/IGO Representative
    3.4% - Media
    2. It is an International Institute so they are from all over the world.
    3. Map interaction is not needed but it would be an advantage considering the town in which the institute is located has a common name and often gets mistaken for another in a totally different country.
    4. Interactive maps on cell phones and GPS
    A map on the webpage is needed because:
    A. The audience is so widespread e.i. from Government Officials to Students from all over the world including the LDC countries, that it is near impossible to predict what technologies are available to them, it is assumed that they will be able to access the internet.
    B. Requested by the management.
    Thank you in advance for your advise

  • How to Show custom image  on Google Map Oracle Apex 4.1 page

    Hi.. All,
    Need to show custom Image (From Database Table which is a BLOB Column) as Marker on Google Map with fixed size if we zoom in or zoom out.
    I am using Apex 4.1 and oracle11g r2.
    Thanks in Advance

    Hello,
    This plugin Does Exactly What You Need.
    http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/extension-warp11-gmaps-item_109.html
    Please read the comments on the plugin, in case you come across problem in running the plugin....
    Best Regards,
    Fateh
    If you believe that my answer was correct, then please mark the answer as correct. This is for the best of all

  • Apple Maps - Please reconsider and include Google Maps. As a long time Apple customer, I am disappointed iOS would regress the system and inconvenience millions because of a vendetta that should never hinder users. Not only does the transit feature I used

    Apple Maps - Please reconsider and include Google Maps. As a long time Apple customer, I am disappointed iOS would regress the system and inconvenience millions because of a vendetta that should never hinder users. Not only does the transit feature I used religiously no longer exist, but clicking on an address in a website now directs users to a poor Google Maps interface. I am surprised to see such a effortless update from a company squatting on the resources to make a change its customers are asking for.

    varjak paw wrote:
    Apple has documented an API to provide add-ons to the Maps app in the iOS 6 SDK, so that such add-ons are possible is absolutely not a guess that the capability is there. As to whether someone will indeed develop an add-on for any given transit system, that would be a guess, yes, but at a couple of companies at least have already announced plans to do so.
    In select cities and areas - so now I'm going from being able to supply this information myself to either wait for someone to supply an app or write an app myself... This is not feature progression but feature regression. Adding transit times or a specific overlay should not have to be something you need to do through code via an API. So no dice... Your guess that we will see better transit information is just that - a guess, nothing else.
    If you don't agree with that editorial, you are certainly free to do so. I provided the link as food for thought for those who have been questioning Apples' decision to drop Google's maps from iOS. Whether or not you agree with Brad's analysis or that of anyone else is up to you.
    But on that central issue the editorial fails - it's is not the true tale of why Apple made their move and therefore useless even as "food for thought" (because it's guesswork).

  • Custom Icons and photos in pop-up boxes not showing up in My Google Maps

    I created a special map in Google Maps called Tagworts in 2009. It has custom icons which show in Safari but not in Firefox (16.0.2). These items are also supposed to appear in the side panel where all the information related to each place is listed. The pop-up boxes which link to the icons on the map do not show the photos which used to be there (this is also the case with Safari).
    I can't tell if the map works or not in other browsers. I need the map to work for a job application (the map is part of my work portfolio).
    Is this a combination of problems with updates in both Firefox and Google?

    Works here in Firefox 16.
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (MAC)
    If images are missing then check that you aren't blocking images from some domains.
    *Check the permissions for the domain in the current tab in "Tools > Page Info > Permissions"
    *Check that images are enabled: Firefox > Preferences > Content: [X] Load images automatically
    *Check the exceptions in "Firefox > Preferences > Content: Load Images > Exceptions"
    *Check the "Tools > Page Info > Media" tab for blocked images (scroll through all the images with the cursor Down key).
    If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    Make sure that you do not block third-party images, the permissions.default.image pref should be 1.
    There are also extensions (Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    See also:
    *http://kb.mozillazine.org/Images_or_animations_do_not_load

  • Customer CRM Address in Google Maps?

    Is it possble to plot a map of customers on a Google Map using the CRM address information? Similar to how it's done with a WebApp?

    Hi Scott,
    That's not possible since there's no module that will retrieve CRM data from the frontend.
    Cheers,
    -mario

  • Google map inside the spry collapsible panel

    So this time I've bumped into interesting 'bug'. I've placed the google map inside the spry collapsible panel. Panel is set to the closed mode on load of page. When I open the tab, map appears, but address marker is hidden behind the top left corner. If I place the same map outside the collapsiple panel it renders all well.
    So my  question is whether there is any way around this issue. When I know where the marker is hidden I can simply move the map and see it, but customer who's not aware of the problem will see only blank map with not marked address which is not acceptable.
    cheers,
    Simon

    Sure mate. Here you go:
    <div id="CollapsiblePanel1" class="CollapsiblePanel">
                  <div class="CollapsiblePanelTab" tabindex="0">SHOW MAP</div>
                  <div class="CollapsiblePanelContent">
                  <cfmap  width="242" height="200" zoomlevel="12" name="mainMap" markercolor="333444" showscale="false"
    typecontrol="none"  showcentermarker="true" centeraddress="#get_event.event_address1#, #get_event.event_address2#, #get_event.event_city#,#get_event.event_county#, #get_event.event_postcode#, #get_event.event_country#  "
    ></cfmap>
                  </div>
                </div>
    And this bit goes at the bottom of the code :
    <script type="text/javascript">
    var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1", {contentIsOpen:false});
      </script>
    And that would be the preview that I get once the panel is open:
    And that is the preview of how it should look:
    As you can see the map marker sticks to the top left corner. I was wondering whether there is any way to re-focus it once the panel is open.
    cheers,
    Simon

  • Can i use WebApps to build a Google map with polygon territories instead of points (pins)?

    I built a map with Google Maps Engine Pro - http://www.jmbcompanies.com/Services/Mitigation/map.
    It showcases territories using a Google map polygon shape.  I wrote custom KML to create it.  However, with Google Maps Engine pro you cannot create custom hyperlinks.  It will link a URL that you put in the data, but you cannot name it or target the parent window, so therefore it opens a new tab for each click to more details.  I really want it to open the WebApp detail page for that item within the same window.
    So, is there a way to use the BC integrated Google maps technology and show polygons instead of points on the map? I've used {module_webappsmap,20754,a} to place individual locations on a map, but what about territories or polygon areas?
    I'm sure that I can create a WebApp to generate the KML for each placeholder.  But how do I turn that into a map?
    THANKS!!

    You can not create a kml file in BC through webapps. Modules do not work in other file types and you do not have server code access to generate a file type of results.
    You need to use the google API and do this yourself or you can just use this:
    And embed it into a custom field. My Maps

  • After Upgrade to IOS 6.1, find my iPhone's map cannot see the street or city, especially in China, can we change back to google map in this app?

    After Upgrade to IOS 6.1 also with "find my iPhone" app, the map when locate my iphone cannot see the street or city, especially in China, can we change back to google map in this app?
    If the map cannot show details, how can we find my iphone? And it seem Apple just have an good idea for customer only but it is not function, why need to use Apple map in "Find my Iphone" if we all know it is not a good map!
    So stupid Apple!!!!!

    https://itunes.apple.com/us/app/google-maps/id585027354?mt=8
    It won't help find your iPhone, however.

  • Integrating Google Maps in Oracle Apex and 404 Not found error page

    Currently using APEX version 3.2.0.00.27 installed in OracleXE version 10.2.0.1.0. Have been attempting to recreate some examples of Google Maps within APEX. Found a nice set of examples here that build up to what I'm looking to ultimately do by incorporating google maps into APEX:
    http://blog.whitehorses.nl/2009/10/04/integrating-google-maps-in-oracle-apex/
    Unfortunatly, I'm getting the "404 Not Found, Not found, The requested URL /apex/wwv_flow.accept was not found on this server" page when I try to recreate the "Map with Search" example. I'd like to see if this really works using the html input and button tags in the body/region source versus creating APEX items to pass the address values to the javascript in the html header of the apex page. I'm thinking it's just an html thing within APEX that you have to do it a certain way, but I haven't managed to hit that magic combination. have gone to the google maps api v2 and looked at the html they use (it's what these examples with apex are based on) and tried that just to see. Same 404 result.
    I've seen suggestions at this forum and elsewhere that the 404 error is due to a bug. have been to metalink, and really haven't seen anything that spells out what the bug is and how to patch it or work around it. May be I just haven't found the right note/doc yet. have seen suggestions to change something associated with the Anonymous account that APEX uses. Have turned on authentication in the application to use an APEX user account with a logon page to the application. Still get the 404. Although, I have not adjusted anything elsewhere, like a DADS config file, because the apex/xe configuration is using the plsql gateway. Not sure of any procedure for changing settings on anonymous account when using plsql gateway.
    Open to suggestions. APEX 3.2 is customer version, so going to 4 may not be an option yet. XE, on the other hand, can certainly be swapped for an 11g version standard or enterprise edition if need be. I don't think this is a db version problem though. I think it's more on the APEX side of things.
    Anyway, any help or suggestions are appreciated.
    thanks
    rtp
    Edited by: RTP on Jun 24, 2011 10:30 AM

    Hi I have the same problem.... if you found the solution, please put it here to see it... I need a solution to this its urgent!!
    Thanks!!

Maybe you are looking for

  • Mobile device unable to register in SUP 2.3

    Hello, I am currently trying to register my device with the retail execution app 3.2. I have downloaded the Android version from SWDC and the iOS 3.2 version from the appstore. I enter my connection details to the relay server and enter my SAP userna

  • HU error when Reversing the goods issue in STO process

    Hello Gurus, I will explain the whole process we follow for STO: 1. Create sales order ->Based on PR in sales order schedule lines, PO will be created -> outbound delivery -> Pack in HU -> PGI -> based on output type Idoc will be triggered -> this ou

  • Trigger changes are not committing to the database

    I have 9iAS and 9i DB both on my laptop. I am having a problem in which a trigger run off a WHEN_BUTTON_PRESSED function is not committing the changes to the database. In the trigger I have: 1 record insert into table A. 1 record update to table B. 1

  • War Game

    Hi, I was wondering if anyone could help me to make the java game War. I have these two classes, the Deck class and Card class: import java.util.*; public class Deck { // Instance Variables private Card[] theDeck = new Card[52]; // Set up random numb

  • Recover from old ldap file

    Hi All, We faced a problem with the weblogic password as we kept getting the authentication error when we tried to login to console or sbconsole. We had to reset the password for weblogic admin user for which we renamed the ldap directory in the Admi