Closed ezequias closed 7 years ago
Can you provide a jsBin repo?
@alaframboise it's the same project enabled by this repo (the repoI am posting this issue). I will try to do it on jsBin.com.
I am not able to load the entire project on jsbin (actually I think it is impossible). The street view widget was not customized. I think it is bugged @alaframboise
@ezequias ok just let me know when you have a test case for me look at. Thanks.
You are trying to load the jQuery calcite-maps library with the dojo loader. If you are using jQuery and want to use the calcite-maps jQuery lirbary, i would just use load the calcite-maps jQuery library outside of dojo. Check out this example.
https://github.com/Esri/calcite-maps/blob/master/samples/arcgis-4.x/arcgis-4.x-2d-3d-jQuery.html
Thanks @alaframboise but I was using Bootstrap calcite-maps. I you could check if the library is ready for streetview I would be glad.
You can mix and match as you please.
Here's an example using dojo to load bootstrap and calcite-maps and jQuery is loaded at the end. https://jsbin.com/damafe/edit?html
This one loads dojo just for ArcGIS and then jQuery for bootstrap and calcite-maps. https://jsbin.com/zowizeq/edit?html
I tried to load your sample after trying to add Streetview dijit widget but I failed on it: http://codepen.io/ezequias/pen/xdxeXR?editors=1000
The attached file below contains all widgets deployed (including Streetview) from calcite-maps gis.zip
@ezequias There are a few issues here: 1) The widget code looks like it's for the Web AppBuilder and the ArcGIS JS 3.x API and this is a custom sample that loads the JS 4.x API, 2) I believe some of the required widget dependencies are missing, 3) I also assume you need to wire the widget up to a div in the panel view it?
Either way I do not believe this is a calcite-maps framework issue.
Closing.
I am getting the following error when I try to load Street view widget.