Automatically Show markerWindowContent (CFMAP / CFMAPITEM)

Hello. I am trying to re-center a google map and show a marker window automatically for a specific point after the map has been re-centered.
I have the re-centering part down fine with:
function map(address){
          ColdFusion.Map.getLatitudeLongitude(address, refresh)
function refresh(latLong){
          var mapObj = ColdFusion.Map.getMapObject('map');
          mapObj.setCenter(new GLatLng(latLong.y,latLong.x), 10);
But I am trying to figure out how to manipulate the map object to show a specific marker window. I have searched through quite a bit of blogs and search results. I have a feeling it would be something along the lines of the following?
mapObj.addOverlay(marker10);
This is probably not needed, but here is my cfmap tag just FYI
<cfmap name="map" width="945" zoomlevel="4" zoomcontrol="large3d" showscale="true" showallmarkers="true" showcentermarker="false" centeraddress="United States">
          <cfloop index=i from="1" to="#site.recordCount#">
                    <cfmapitem latitude="#site.latitude[i]#" longitude="#site.longitude[i]#" name="marker#i#" markerwindowcontent="
                              <span class='mapTitle'>
                                        #site.name[i]#<br />
                              </span>
                              <span class='mapAddress'>
                                        #site.address[i]#<br />
                                        #site.city[i]# #site.state[i]#<br />
                                        #site.phone[i]#<br />
                                        <a target='_blank' href='https://maps.google.com/maps?daddr=#site.address[i]# #site.city[i]#, #site.state[i]#'>Get Driving Directions</a>
                              </span>"
                    />
          </cfloop>
</cfmap>
Thanks so much for any pointers in the right direction.
~ Ben

According to the documentation, the (optional) 'name' attribute of <cfmapitem> should be the name of the map, not of the marker.  Try this (or just remove it completely):
<cfmapitem name="locationmap"
            address="#google_address#"
            showmarkerwindow="true"
            markerwindowcontent="#google_address#"
            />
Although the examples on that same page then does exactly as you've done, use the name attribute to give names to the markers.  So I'm not sure my solution is correct or not!
Alternatively you could try using the addMarker function:
http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WS0ef8c004658c1089-6262c847120f1a3b244- 7fe2.html

Similar Messages

  • Does iOS have the ability to automatically show me shipping and tracking info or flight status based on information in my email?

    I am considering switching from an android to an iPhone and one of the features I use heavily on my android is my google now cards. It automatically reminds me to check in for flights and gives me flight status information based on flight information in my email. It then shows me a card for the weather where I am and where I'm going. I also use it for shipment tracking; if i have an email that has a shipping confirmation number, I have a google card that automatically shows me the tacking number and tracking status. I was wondering if Apple had something similar and if it was through Siri or something else? I have an iPad and I haven't seen features like these on it. Everything I've read about Siri so far is that the information given is based on you prompting with a question as opposed to proactively giving me information I need, which is more how I use my android today. If the answer is to us the google now app for iOS, does will it interface with my email and calendar to make relevant cards seamlessly on the iPhone like it currently does on my android phone? Thanks in advance for the help/advice!

    I am considering switching from an android to an iPhone and one of the features I use heavily on my android is my google now cards. It automatically reminds me to check in for flights and gives me flight status information based on flight information in my email. It then shows me a card for the weather where I am and where I'm going. I also use it for shipment tracking; if i have an email that has a shipping confirmation number, I have a google card that automatically shows me the tacking number and tracking status. I was wondering if Apple had something similar and if it was through Siri or something else? I have an iPad and I haven't seen features like these on it. Everything I've read about Siri so far is that the information given is based on you prompting with a question as opposed to proactively giving me information I need, which is more how I use my android today. If the answer is to us the google now app for iOS, does will it interface with my email and calendar to make relevant cards seamlessly on the iPhone like it currently does on my android phone? Thanks in advance for the help/advice!

  • Having been without my Mac for a month I've been using iCloud mail. The new mail boxes that I set up there do not automatically show up in Mail on my replacement Mac. Is there any way to transfer them from ICloud mail to Mail?

    Having been without my Mac for a month I've been using iCloud mail.on a PC. The new mail boxes that I set up there do not automatically show up in Mail on my replacement Mac. Is there any way to transfer them from ICloud mail to Mail? Thanks.

    sure pretty simple.  make a backup of your current settings
    http://support.apple.com/kb/HT1766?viewlocale=en_US
    then restore device from old backup you need pics off of
    then import pics to computer
    http://support.apple.com/kb/HT4083
    you may need to save pics to camera roll first
    then restore the new backup and sync pics back to phone via itunes
    Peace, Clyde

  • How do I stop the iMessage conversation from automatically showing when I go into the I message center? I only want the contacts to show down the left side and nothing on the right until I select a conversation to view.

    HOW DO I STOP THE WHOLE IMESSAGE CONVERSATION FROM AUTOMATICALLY SHOWING WHEN I GO INTO IMESSAGE? I only want the contact bar on the left to show and not the whole conversation, until I pick one to see.

    You can't. You can sign out of messages and turn it off, but you can't do what you would like to do. You can send feedback to Apple.
    https://www.apple.com/feedback/ipad.html

  • Automatically show number of pages in PDF on first (general) page?

    I want to have a field at my first page of pdf document which automatically shows how many pages are there in document. Is that possible, if yes, how? i know i can have number of pages in header, but I need special field inside body of my first (general) page of pdf document
    tnx in advance

    put the code: this.rawValue = xfa.layout.pageCount()
    (you can also insert it automatically as a floating field from the insert menu)

  • Daughter has used iPad for her Apple account and I can't use the App store because her username automatically shows up in the Apple ID window.  How do I change that?

    My daughter has used our iPad for her Apple account and now I can't use the App store because her username automatically shows up in the Apple ID window.  How do I change that so I can put our Apple ID in with the appropriate Password?

    Open Settings -> Store
    Tap on the Apple ID shown and sign out. Then sign in with your own Apple ID.
    Update: Oops, AnaMusic was faster...

  • Is there a way of making Maverick's Calendar application NOT to automatically show event times?

    Is there a way of making Maverick's Calendar application NOT to automatically show event times?

    I wonder if this Option (named Show Event Times in Mountain Lion) is simply not there anymore in Mavericks or if the Checkbox is simply missing and while come back in future Updates of Mavericks?
    Is there a way to disable the "Show Event Times" maybe through the Terminal?

  • HT4436 For the past two weeks, every time I start up my computer I'm asked for an iCloud login. I've never used iCloud and I'm not likely to. How do I get this login to stop automatically showing up?

    For the past two weeks, every time I start up my computer I'm asked for an iCloud login. I've never used iCloud and I'm not likely to. How do I get this login to stop automatically showing up? I'm using an iMac G5 with OS 10.9.4.

    One more quick thing first. Hold the SHIFT key this time as you startup and see if that gets you any further (this is called 'Safe Mode' by the way). I'm not too confident that this will work in your case but it's worth a try. If it boots up, go into Disk Utility and repair permissions.
    If it doesn't, you're going to have to do an Archive & Install which will install a fresh copy of the OS over the top BUT keep all your users, files and apps in place.

  • Why Firefox not Sync will automatically showing unknown error?

    why Firefox not Sync will automatically showing unknown error?

    How long has been this happening? Have you tried again?
    I will encourage you to use the recommendations on this article whenever Sync returns Unknown errors for a long period of time.
    [[Firefox Sync is not working]]
    Sometimes it's just as simple as a connection issue between your computer and the servers.

  • Why would apple not automatically show the side bar in iTunes.  Wasted 20 min trying to find out why my ipod was not showing up.  Really really bad idea, Apple.

    Why does the side bar not automatically show up when you first download apple iTunes?  Really really bad design.  It took 20 min to fine the setting that enable the side bar.  ***?  I could not access my iPod for 20 freakin min!  Just show the **** side bar always!  Maybe apple is too big and is starting to lose common sense. 

    Because Apple update iTunes to do it that way. Apple has not said why.
    Tell Apple:
    Apple - iTunes - Feedback

  • Select list/menu to automatically show the numbers 0-99?

    Hi
    I have a select list/menu on my page and I would like the list to automatically show the numbers 0-99.
    Been searching the interwebs for answers/tutorials, but no luck.
    Any clues?
    Using CS5, asp
    Regards,
    Christian

    Thanks for everyone advise. I managed to get it working
    I sent the stockID on;y to the cart page, made a new variable based on the stockID the made a query and got all the information based on the new stockID variable
    <?php
    $newStockID = $XCart_StockID = ${$XCName}["contents"][0][$XCart__i];
    mysql_select_db($database_beau, $beau);
    $query_rsSize = "SELECT * FROM beauAW13_SizeList, beauAW13_Stock WHERE beauAW13_Stock.SizeID = beauAW13_SizeList.SizeID AND beauAW13_Stock.StockID = '$newStockID'";
    $rsSize = mysql_query($query_rsSize, $beau) or die(mysql_error());
    $row_rsSize = mysql_fetch_assoc($rsSize);
    $totalRows_rsSize = mysql_num_rows($rsSize);
                              ?>
    select list
    <option value="<?php echo $row_rsProduct['StockID']; ?>"><?php echo $row_rsProduct['Size']?></option>

  • Why won't Firefox automatically show new Hotmail emails or easilly down load attachments when it was working a week ago?

    Why won't Firefox automatically show new Hotmail emails or easily down load attachments when it was working a week ago?

    Hotmail has been having a few hiccups lately I'm afraid.
    If you don't see any emails when you log in, or nothing appears after some time, click in the middle of the grey bar on the left which has the word "'''Inbox'''" in it. This usually causes them to magically appear for some strange reason.
    I've read on on a few blogs that Microsoft is working on the problem, but don't hold your breath.<br><br>
    If this suggestion resolves the problem for you, please click the '''Solved it''' button next to this post after you log in into the forum. This will help others searching for a solution to the same problem.
    Thanks.

  • Spotlight results not automatically show up

    Usually in the spotlight search bar, the result will automatically show up as I'm typing, but lately I have to press the down arrow key for the result to show up, how can I fix it? And this similar problem also happend in firefox address bar as well, almost at the same time.
    Please help me.

    nevermind, it's because I use  another input source (Vietnamse Unicode)

  • New tab doesnt automatically show home page

    my homepage is the firefox default homepage but when i open new tabs the page is blank!!!!! why isnt new tabs automatically showing the mozilla firefox default homepage???????? can someone please help me? rsvp. thank you.

    In english :
    Does it answer to your question ?
    https://support.mozilla.org/en-US/kb/thumbnails-on-new-tab-page-are-missing
    or
    link given by cor-el... ;)
    Please tell me if it helps, that I translate it in english then.
    For your information, I just did a search on the web with the words :
    firefox display new tab
    Try to imagine other features you'd like to modify in Firefox, and train yourself doing some search, you'll find that most of the answers have already been published.
    "

  • Program panel automatically shows up in front when playing

    Hello, when I'm in my sequence panel in my Premiere Pro CC 2014 and I click on play, the program panel automatically shows up on top in front of all other panels in this frame. I want to show up the audio track mixer panel in front of all other panels in this frame, but when playing it always jumps back to the program panel. How can I disable this? Thanks.

    Please see this thread: Program monitor during playback in always in focus; preventing effects panel or mixer to be seen

Maybe you are looking for