Adding Feature Layer in bootstrap Map

707
3
Jump to solution
04-30-2018 01:19 PM
BulbulMajumder
New Contributor II

Is it possible to incorporate multiple feature layers ( Similar - Feature Layer (basic) | ArcGIS API for JavaScript 3.24  )
in bootstrap (Calcite Maps and Bootstrap | ArcGIS API for JavaScript 4.7 ) as I can't go for geocoder for mobile version and the feature layer is from older version (3.24) and bootstrap is 4.7 version. Or is there any other way to use the feature layer/layers for mobile versions. 

Please help. 

Thanks 
Bulbul

0 Kudos
1 Solution

Accepted Solutions
MunachisoOgbuchiekwe
New Contributor III

Hello Bulbul, 

If I am understanding your questions correctly, yes you can add Feature Layers to the Calcite Maps and Bootstrap app. You just need to include the feature layer module in the require array, create a feature layer class, and then add the layer to the map. 

The code is too long for me to post here so here is a github gist link (https://gist.github.com/nommuna2/f4d4fe42c4e61a971b42c59a54043878). 

View solution in original post

3 Replies
BulbulMajumder
New Contributor II

Can anyone please help that did I post the question in right place ? PLease

0 Kudos
MunachisoOgbuchiekwe
New Contributor III

Hello Bulbul, 

If I am understanding your questions correctly, yes you can add Feature Layers to the Calcite Maps and Bootstrap app. You just need to include the feature layer module in the require array, create a feature layer class, and then add the layer to the map. 

The code is too long for me to post here so here is a github gist link (https://gist.github.com/nommuna2/f4d4fe42c4e61a971b42c59a54043878). 

BulbulMajumder
New Contributor II

Thank you Munachiso, It worked.

0 Kudos