Register
|
Login
Simplovation
Home
Product Information
Consulting
Try It
How To Buy
Forums
Blog
Cannot implicitly convert type 'double?' to 'double'.
Last post
6/22/2009 2:28:11 PM
by MinDave.
2
replies.
<< Back to Web.Maps.VE v2.0 General
6/18/2009 4:56:55 PM
MinDave
Cannot implicitly convert type 'double?' to 'double'.
Pardon my ignorance, not sure if I missed the tutorial, but I have upgraded to the newest version (2.0.4) and now everywhere the old version used a "double", it now uses a "double?" and I can't seem to find what that means? I can't believe that we have to change ALL of our code, there must be a 'using' or a 'reference' that I'm missing? Anyone, please help...
6/19/2009 3:25:34 AM
Chris Pietschmann
Re:Cannot implicitly convert type 'double?' to 'double'.
The following change ("possibly breaking change") was made in the
v2.00.03 release
and will be in the control going forward:
LatLong.Latitude and LatLong.Longitude properties have been changed to the Nullable Double type, from just a regular Double that they were in previous releases. Most code should work correctly with this change, but be aware of it in case it causes exceptions when upgrading to this update release. This change was made so that more compatible support for Birdseye Map Style could be implemented.
This change only affects the Setting of the Latitude and Longitude properties of the LatLong object. Sorry for any inconvenience this may have caused, but it was a much needed change in order to better support Birdseye Map Style.
You can view all changes made in all previous updates here:
https://simplovation.com/page/webmapsve20/roadmap.aspx
6/22/2009 2:28:11 PM
MinDave
Re:Cannot implicitly convert type 'double?' to 'double'.
Thanks Chris... It's working now.