Opened 15 years ago
Closed 15 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)
Change History (3)
by , 15 years ago
Attachment: | bing_measure.JPG added |
---|
comment:1 by , 15 years ago
Cc: | added |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
state: | New → Approved |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
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.