Coder Social home page Coder Social logo

meek's Introduction

Meek

Meek 是一个集成绘图、编辑、渲染、图形关系分析的javascript库,基于 HTML5 Canvas 来实现,

主要功能包括:

  • 图片地图放大、缩小、拖拽,全图切换和缩放比例显示(支持快捷键操作)

  • 点、多段线、多边形、矩形、平行四边形的绘制,多段线、多边形的自由模式绘制

  • 点、线、面平移,矩形、多边形、多段线边和顶点的编辑,平行四边形编辑

  • 支持复合多边形(mutilpolygon)、带洞多边形(holepolygon)

  • 支持图形的点选、鼠标悬浮选中,支持图形多选(ctrl键)

  • 支持点、线、面、文本样式的设置与渲染

  • 支持图形的相交、包含判断,支持直线、多段线分割多边形操作

  • 标准geojson 数据格式输入和输出

  • 图片地图和屏幕坐标的映射和转换

功能截图

  • 绘图
  • 选择、渲染
  • 线分割

Supported Browsers

需要支持 HTML5 的浏览器

Installation

  • 下载 meek

  • cd 到源码根目录

  • 执行 npm install

  • 执行 npm run build

  • 发布版本 npm run release

Samples

  • 执行 npm run build 生成 meek.js

  • 进入 samples 目录下,运行感兴趣的 html 示例

API

使用 yuidoc 来生成 api 文档,cd到源代码目录,执行命令

yuidoc

Authors

zy

meek's People

Contributors

asnowbear avatar peachisland avatar 593949622 avatar crystalgithub avatar

Watchers

James Cloos avatar  avatar

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.