Cesium introduction and offline deployment operations

Source: Internet
Author: User

Cesium Introduction

Cesium is a foreign JavaScript-based map engine using WEBGL, an open source 3DGIS JS Library. Cesium supports 3d,2d,2.5d form of map display, can draw graphics, highlight areas, and provide good touch support, and support the vast majority of browsers and mobile, but because cesium based on WEBGL to render 3D, so the browser is required, You must support WEBGL before you can do it. Refer to the Cesium official website of the documentation, browser support version: IE11 or above, Google, Firefox version of the more advanced and so on, in fact, test browser support is not supported, run the demo can be tested, will prompt, not supported.

As individuals have just studied cesium, simply talk about the personal opinion of cesium:

Advantages:

    1. Open source, open source, open source, can study the source code and targeted to the source code to do some modification work, cesium source code github address: https://github.com/AnalyticalGraphicsInc/cesium/tree/1.29;
    2. CESIUMAPI version of the update frequency is high, almost every month a version, indicating cesium popularity high;

Version

Download

Date

Notes

1.29

Cesium-1.29.zip (42.51 MB)

2017-01-02

  • Blog Post
  • Source
  • Documentation, Code Examples, Tests, etc.

1.28

Cesium-1.28.zip (42.40 MB)

2016-12-01

  • Blog Post
  • Source
  • Documentation, Code Examples, Tests, etc.

1.27

Cesium-1.27.zip (42.65 MB)

2016-11-01

  • Blog Post
  • Source
  • Documentation, Code Examples, Tests, etc.

......

B5

Cesium-b5.zip (18.68 MB)

2012-05-15

  • Source

    1. Cesium display map data effect is good, analysis of 2D map various types of data sources, such as Baidu Map, day map, ArcGIS map, Bingmap, OpenStreetMap, Mapbox and so on; analytic topographic map loading; parsing 3D models, including dynamic loading and 3Dtitles tile form loading display, especially 3Dtitles, greatly accelerate the display of 3D model display efficiency;
    2. Cesium package part of the map control, directly call can not write their own;
    3. ......

Disadvantages:

    1. Compared with commercial 3DGIS software, such as skyline,cesium three-dimensional analysis function is too weak, do not rule out my own understanding of cesium not enough depth of the possibility; As far as I know, the Cesium official website about three-dimensional analysis of the example is almost no, is to display data and rendering data-based examples, I hope that the following API version of the website for three-dimensional analysis.
    2. No plotting tools are provided Draw,2dgis generally provide draw tools, such as the ArcGIS API and Openlayer Api;cesium want to draw points, lines, polygons, only through the code to draw, seemingly unable to online hand animation;
    3. No map acreage tools, map scale, frame scaling, and so on, these basic tools of the map, in cesium all need to write their own implementation;
    4. ......

Cesiumapi Offline Deployment Run

1.cesium Download Cesiumapi Decompression package, the following directory after decompression:

Includes the compiled build folder and the Cesium API source code Sources folder

2.cesium offline deployment run, here I run the Demo project Development environment is: MYECLIPSE+TOMCAT

Copy Cesiumapi unzip the entire folder to come in my demo project, the folder named Cesiumapi

3.3dmap.jsp page load Cesiumapi run test

1) Map page reference cesium required CSS and JS file can be effective

<!--cesium style and js file--><script src= "${pagecontext.request.contextpath}/js/map/cesiumjs/cesiumapi/ Cesium.js "></script><link href=" ${pagecontext.request.contextpath}/js/map/cesiumjs/cesiumapi/ Widgets/widgets.css "rel=" stylesheet "type=" Text/css "/>

2) Create a map and show the code:

Var viewer = new Cesium.viewer ("Cesiumcontainer");

4. Operating effect:

Cesium introduction and offline deployment operations

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.