tongmap-js

2D Map SDK
3,144
Install
npm install tongmap-js
Latest Version:0.2.25
Vue:2
License:MIT
Last Updated:Mar 18, 2021
Links: npm
Maintainer: flanker521

tongMap-JS

A 2D Map component with Openlayer

Use Setup

# install
 npm install tongmap-js --save

#  options
import TMap from 'tongmap-js'
let map = new TMap.map({
        url: 'https://services.arcgisonline.com/arcgis/rest/services/' +
          'ESRI_Imagery_World_2D/MapServer/tile/{z}/{y}/{x}',
        center: [0, 0],
        projection: 'EPSG:4326',
        zoom: 2,
        minZoom: 2,
        target: 'map'
      })

# dom 组件使用
<div id=map></div>

Related Packages

tongmap-component

A 2D Map component use openlayers and Vue

1,472
ol-map-vue3

Vue3基于openLayers封装的地图组件库

999 1
v-openlayers

基于vue3+openlayers封装的组件库

3,599
ol-map3

Vue 3 + TypeScript + Vite + openlayers 实现2D地图,提供打点、搜索、卷帘分析、热...

3,480

Version History

Version Released Vue License
0.2.25 ^2.5.2 MIT
0.2.24 ^2.5.2 MIT
0.2.23 ^2.5.2 MIT
0.2.22 ^2.5.2 MIT
0.2.21 ^2.5.2 MIT