Code Monkey home page Code Monkey logo

Comments (6)

nickcam avatar nickcam commented on May 28, 2024

Hi @YangZhenFang, sorry mate, not really enough detail in your issue to comment on fully.
Is the error occurring in your own version of the layer?
From the sounds of it you're trying to assign an instance of FlareClusterLayer to a graphic object, which obviously won't work as it's a layer not a graphic.
Are you using v3.x or v4.x?
Do you have an example page where this occurring?

from flareclusterlayer.

yzf1116 avatar yzf1116 commented on May 28, 2024

Thank you reply to me,@nickcam, i was the first to use arcgis, the version is 4.5, there are many do not understand.now is that
8eecf378-891f-44d8-9926-359e6f93387b

this is data

image

from flareclusterlayer.

nickcam avatar nickcam commented on May 28, 2024

Hi, sorry still can't really see what the issue is. Do you have a live example somewhere (jsfiddle, plunker) where it can be demonstrated?

As your coordinate fields are named Lat and Lng you'll need to set these properties in the constructor options when instantiating a FlareClusterLayer.

var fcl = new FlareClusterLayer({
   xPropertyName: "Lng",
   yPropertyName: "Lat"
});

from flareclusterlayer.

yzf1116 avatar yzf1116 commented on May 28, 2024

sorry to bother you
http://jsfiddle.net/Hide_Ekko/ma1r1a8g/
in 672-773

from flareclusterlayer.

yzf1116 avatar yzf1116 commented on May 28, 2024

now no error,but not show the mapView

from flareclusterlayer.

nickcam avatar nickcam commented on May 28, 2024

Hi mate, I can't see anything wrong in the jsfiddle...but it doesn't run. Do you have a sample that runs that is displaying the error?

from flareclusterlayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.