cmv/cmv-app

support arcgis javascript api v3.33? or v3.28

hoogw opened this issue · 4 comments

hoogw commented

support arcgis javascript api v3.33? or v3.28

@hoogw

The current version we support is v3.33. Most prior versions over the last several years will work as well.

hoogw commented

Thanks, I use v3.28 all the time until last week, I suddenly found 2 year running CMV (with 3.28) broken
The error message is below

image

I try change index.html ( v3.28 to v3.33), same error, looks like I need completely re-build to upgrade to v3.33

hoogw commented

I found the reason, it is because, 2 year ago, zoom level support decimal.
for example, I set zoom=16.7, it works fine.

Recently error is because recently, either CMV change code, or ESRI v3.28/v3.33 change code, will NOT support zoom=16.7, you must use zoom=17 integer only.

If I continual use zoom=16.7, will cause above error.

@hoog That would definitely be change in ESRI code, not CMV. I am surprised that non-decimal zoom levels were ever allowed. This is the first time I recall anyone attempting to use them. Glad you got it worked out. 👍🏽