Comments (6)
Oh yeah I see it now. In your example you need to instantiate it like this -
var layer = new FlareClusterLayer.FlareClusterLayer({options});
The module imported in the loadModules() call isn't the actual class. It contains the class inside it, so you need to reference the class by using <module>.<class>
, ie: since you're using FlareClusterLayer as the module name then it is - FlareClusterLayer.FlareClusterLayer
.
Let me know how you go.
from flareclusterlayer.
Hi @JinLongy, that error suggests that the class hasn't loaded correctly. Have you followed the esri-loader instructions here - https://github.com/Esri/esri-loader#configuring-dojo - to include the esri/extras package?
from flareclusterlayer.
But I can print this js object to access.
from flareclusterlayer.
I deployed the official api to the local server and placed this file in the esri directory. It stands to reason that you should be able to access this file.
from flareclusterlayer.
Well, it’s ok now. thank you very much.
from flareclusterlayer.
Ok cool.
from flareclusterlayer.
Related Issues (20)
- Improve the documentation on how to run and integrate this Layer HOT 1
- recreating the clusters in v4.11 is not showing graphics HOT 2
- Getting node_module error while running application HOT 1
- Print Cluster Layer with the Esri 4.x Api Print Widget HOT 1
- Show popup when clicking on an individual clustered graphic HOT 9
- FlareClusterLayer.js 用javascript引用时 js里面的define 报错define is not defined HOT 1
- There is something wrong with the 4.12 API HOT 1
- use vueJS to finish aggregation analysis HOT 1
- What clustering algorithm do you use? HOT 1
- Zoom on cluster when clicked HOT 1
- Can support the ArcGIS API for JavaScript version 4.13? HOT 3
- How to use it in { "wkid": 2381 }? HOT 5
- classBreaksRenderer problem HOT 12
- Can I use FlareClusterLayer in a Gauss Kruger projection environment HOT 2
- unable to compile with Angular 8.3 HOT 1
- Show Popup on Cluster Click HOT 3
- Unable to load package with ArcGIS Webpack Plugin HOT 4
- onhover opens wrong flareCluster when map is not full body HOT 2
- On mouse hover icon is getting streched and icons flickering HOT 4
- Upgrading to ArcGis 4.19, cluster text occasionally does not show up on cluster symbol HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flareclusterlayer.