Esri / cluster-layer-js

One example of how to cluster many point features
http://esri.github.io/cluster-layer-js/
Apache License 2.0
62 stars 50 forks source link

webpack / typings / Arcgis 3.18 / Angular2 #36

Closed klanglie closed 7 years ago

klanglie commented 7 years ago

Our project relies on ClusterLayer. It was working when we were using SystemJS and Visual Studio. Now that we have separated the front end from the back end and use VS Code primarily as our front-end editor, ClusterLayer no longer works. We are also now using webpack. We are having a hard time getting ClusterLayer.js to work in 3.18 with our new configuation. After creating a typings file for it, tsc compiles and the site runs without error. However, for some reason no clusters are showing up. Can you offer any advice or do you know of anyone who has a similar setup to ours that we could use to help us along? Thanks, Kai

andygup commented 7 years ago

@PivotalAnimal While not specific to ClusterLayer, I recommend taking a look at this blog post on using the ArcGIS JS API with webpack. There may be some tidbits in there that are helpful to your specific issues.

klanglie commented 7 years ago

Issue solved. Thanks!