Preface

About this article function realization uses api Related to the class do not understand , Please refer to esri Official website arcgis api 3.x for js:esri Official website api, There is a detailed introduction arcgis api 3.x Introduction of each class , There are also online examples :esri Official website online example , This is also learning arcgis api 3.x Good material for .

Content overview

  1. Function explanation of polymerization effect
  2. Source code demo download

This article realizes the function of aggregation effect , The screenshot is as follows :

Source code engineering structure directory description

map.html Reference aggregation package , The project has been included in the aggregation folder

<script type="text/javascript">
// To configure arcgis Expand the path to analyze the service class reference of Tiantu map
dojoConfig = {
parseOnLoad: true,
paths: {
ExtensionClusterLayer: location.pathname.replace(/\/[^/]+$/, "") + "/js/main/extras/ClusterLayer"// Aggregate effects extend class references
}
};
</script>
  • map.js Initialize the aggregation effect of function calls js Interface ,map.clusterLayer.js To achieve the core effect of aggregation js file

For more details, see GIS A little column of the house of love

The end of the article provides source code download , If you're interested in this column , Can focus on a wave

 

arcgis api for js Introduction development series eight polymerization effect ( With source code ) More articles about

  1. arcgis api for js Introduction development series four map query ( With source code )

    remarks : Due to the requirement of realizing this function , Modified map data dlsearch.mxd, And then updated the map service , What you need is the latest one at the end of the article mxd And source code download The last one realized demo The map toolbar of , New map query function , ...

  2. arcgis api for js Entry development series seven layer control ( With source code )

    The last one realized demo Map split screen comparison module , Layer control module is added in this article , The screenshot is as follows ( See the bottom of the article for the source code ): The idea of layer control module is as follows : 1. In the map profile map.config.js It configures layer tree node information , As ...

  3. arcgis api for js Introduction development series three map toolbar ( With source code )

    The last one realized demo Map loading display of , On the basis of the above implementation , New map toolbar and general map control function , For example, select zoom in the map box . Map tour . Empty . Measuring tools . Map navigation control . Map scale control . Maps, eagle eyes, etc , The total is divided into 5 Parts of ...

  4. arcgis api 3.x for js Introduction development series eight polymerization effect ( Download the source code )

    Preface About this article function realization uses api Related to the class do not understand , Please refer to esri Official website arcgis api 3.x for js:esri Official website api, There is a detailed introduction arcgis api 3.x Each class ...

  5. arcgis api for js Introduction development series nine thermal map effect

    The last one realized demo The aggregation effect of , The effect of heat map is added in this article , The screenshot is as follows : The idea to realize the effect of thermal map is as follows : 1.map.js Initialize the aggregation effect of function calls js Interface ,map.heatmap.js To achieve the core effect of aggregation js file / ...

  6. turn :arcgis api for js Introduction development series four map query

    Original address :arcgis api for js Introduction development series four map query arcgis for js Map query mode of , Generally speaking , There are three ways to query :FindTask.IdentifyTask.QueryTas ...

  7. arcgis api for js Introduction development series arcgis api Offline deployment

    In my GIS The home of QQ In the group , Many of them are arcgis api for js New to development , They are generally GIS Professional students , Or just turned from computer science giser, They will inevitably encounter all kinds of webgis The simple question of development , because ...

  8. arcgis api for js Introduction development series 11 map statistical chart

    The last one realized demo The superposition SHP Layers , A new map statistical chart is added in this article , The screenshot is as follows : The idea of map statistical chart is as follows : Use expansion arcgis api Of js file (MapChartGraphic.js as well as MapChartGrap ...

  9. arcgis api for js Getting started with developing series 20 printing maps

    I wrote about using arcgis api for js Printing maps , But print map services are all based on arcgis server released ,arcgis api Load online map , Like the sky map . Baidu Maps . Gaud map, etc , The base map is made of ...

Random recommendation

  1. samtools A detailed explanation of common orders

    samtools Description document :http://samtools.sourceforge.net/samtools.shtmlsamtools It's one for operation sam and bam A collection of tools for documentation . There are many commands . following ...

  2. Security Tools (Contain CTF tools)

    From now on I will start to have fun with CTF and other security games or challenges. And I am going ...

  3. arp Binding gateway MAC Wrong address

    In order to prevent the LAN from arp To bind the gateway MAC Address stay vista/win in use arp -s There will be an error binding the gateway ARP Item addition failed C:\Users\sink>arp -a Interface : 10.200.5 ...

  4. String matching Boyer-Moore Algorithm Detailed explanation Add C# Realization

    Last article , I introduced KMP Algorithm . however , It's not the most efficient algorithm , Not much is actually used . All kinds of text editor " lookup " function (Ctrl+F), Most use Boyer-Moore Algorithm . Boyer-Mo ...

  5. vs2005 ,2008,2010 Introduction in app.manifest( namely c# The program is in win7 Run the method with administrator privileges )

    open VS2005.VS2008.VS2010 engineering , View... In the project folder Properties Is there any app.manifest This file : If not , Create as follows : Right click the project and select... From the menu “ attribute ”, Click work ...

  6. [linux] linux Accumulation of knowledge ( Constantly updating &hellip;)

    One .vim knowledge f(find) Commands can also be used to move ,fx The first one after the cursor will be found is x The characters of ,3fd A third one will be found for d The characters of . D Delete current character to end of line .D=d$ :split or new Open a new window , The cursor stops at the top ...

  7. pyqt Series of original introductory tutorials

    pyqt4 Introductory tutorial python pyqt4 PyQt It's a creation GUI Toolkit for applications . It is Python Programming languages and Qt Successful integration of Libraries .Qt Library is one of the most powerful libraries at present . adopt pyqt It can achieve many functions we want ...

  8. PE File parser writing ( Two )——PE File header parsing

    Before learning PE When it comes to file formats , It's by looking at the structures yourself , Calculate the offset of each member in the structure step by step , Then calculate the offset in the file , To find the value of each structure , But in use C When you write this tool in language , It's more convenient than this , only ...

  9. 【vue】 Routing configuration

    General components we have full screen components , Or display components in a part of the page , So the first layer of routing is generally displayed in full screen , And in the / The components in the directory are displayed for a certain part of the page , Usually the demand is like this , Login is full screen , The normal page is in a certain part of the page ...

  10. python Three characteristics of object-oriented

    Three characteristics of object-oriented Inherit Inheritance and combination Inherit the advanced encapsulation encapsulation ( To be perfected ) polymorphic polymorphic