Opened 14 years ago

Closed 14 years ago

#364 closed defect (fixed)

Measure: uncaught exception thrown when the baselayer is BingMap

Reported by: liuar Owned by: madair
Priority: P2 Milestone: Future
Component: Widgets Version: 1.1.1
Severity: Major Keywords:
Cc: jie.tan@… Browser: All
External ID: Operating System: All
state: Approved

Description

Please see the attached image

Attachments (1)

bing_measure.JPG (88.5 KB ) - added by liuar 14 years ago.

Download all attachments as: .zip

Change History (3)

by liuar, 14 years ago

Attachment: bing_measure.JPG added

comment:1 by liuar, 14 years ago

Cc: jie.tan@… added

The method getMapObjectLonLatFromLonLat

Google: gLatLng = new GLatLng(lonlat.lat, lonlat.lon);
Bing : veLatLong = new VELatLong(lonlat.lat, lonlat.lon);
Yahoo!: yLatLong = new YGeoPoint(lonlat.lat, lonlat.lon);

Only Bing map throws exception when the lonlat.lat or lonlat.lon is NaN. So a workaround is catching the exception when it is thrown.

comment:2 by liuar, 14 years ago

Resolution: fixed
state: NewApproved
Status: newclosed
Note: See TracTickets for help on using tickets.