Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)
Created: 10/02/2010
Components: AJAX, UI Components
Versions: 9.0.1
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Most users will encounter
Locale/System: English / Platforms All
Vote Count: 0
Problem:
When I use ColdFusion.Map.setCenter it is not working. It seems as if I can't center away from wherever centerAddress is.
Method:
<script>
var setMapCenter = function(mapName){
var centerLongLat={
latitude: 35.0,
longitude: 105.0
};
ColdFusion.Map.setCenter(mapName,centerLongLat);
}
</script>
<cfform>
<cfinput name="b" type="button" onClick="setMapCenter('map1')" value="Set New Center">
<!--- ,{address='U.S. Consulate General, Chennai'}) --->
</cfform>
<cfmap
centeraddress="Bannerghatta Rd, Bangalore"
name="map1"
type="map"
width="500"
height="500"
tip="center address"
>
<cfmapitem name="chennai" latitude="13.4" longitude="80.17" tip="Madras (Chennai)"/>
<cfmapitem name="lakshwadeep" latitude="10.0" longitude="73.0" tip="Lakshwadweep" />
</cfmap>
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3042324
External Customer Info:
External Company:
External Customer Name: Raymond Camden
External Customer Email: 5FBC41E943BD265C992015D5
External Test Config: 10/02/2010
Attachments:
Comments: