hmm... running your code at first it looked like the map did not load,
so i played around with adding ajaxonload() call in map's page and
defining ColdFusion.Window.onShow() in the anchor's onclick event - both
of which made the map load in cfwindow.
however, further testing revealed that your code runs just fine without
any modifications!
the map loads in cfwindow just fine. not sure why it didn't on first
load in FF - maybe i just didn't wait long enough, because on first load
in chrome the map displayed fine...
make sure your mappop.cfm does not error - add ?cfdebug=1 to your main
page's url to show cf ajax debugger and see if it reports any problems
with loading your map page in cfwindow.
if no errors are reported, then try adding this at the bottom of
mappop.cfm page:
<cfset ajaxonload('function(){return true}')>
Azadi Saryev
On 31/01/2010 14:18, Eric Hoffman wrote:
> Now, I understand that this is supposed to work so you can pop up a map
> pretty easy. All is configured with the key, etc. I see the cfwindow
> popup, and scroll bars appear. No map.
>
>
>
> On the calling page, I do have cfwindow and cfmap tags imported via cf.
>
>
>
> I call this function from the page:
>
>
>
> <a href="##" onclick="ColdFusion.Window.create('showmap#id#', 'Quick
> Organization Map View',
>
> '/member/contacts/mappop.cfm?oid=#oid#',
>
>
> {height:410,width:410,modal:false,closable:true,draggable:true,resizable:tru
> e,initshow:false });
>
> ColdFusion.Window.show('showmap#id#')">
>
>
>
> and on that window, this runs:
>
>
>
> <cfmap name="gmap8"
>
> centeraddress="#getOrgInfo.address1#, #getOrgInfo.city#,
> #getOrgInfo.state# #getOrgInfo.zip#, USA"
>
> doubleclickzoom="true"
>
> scrollwheelzoom="true"
>
> showscale="false"
>
> tip="My Map"
>
> width="400" />
>
>
>
> No dice there. Am I missing something obvious here?
>
>
>
> Thanks!!
>
>
>
> Eric Hoffman
>
> CF since 01!
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330291
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4