New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@vtx/ol-map-mobile

Package Overview
Dependencies
Maintainers
6
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtx/ol-map-mobile

uni-app组件库

npmnpm
Version
1.0.28
Version published
Weekly downloads
36
-60.44%
Maintainers
6
Weekly downloads
 
Created
Source

ol-map-mobile

基于 openlayers 的 uni 移动端组件库

在线文档

使用 Yarn 安装

yarn add @vtx/ol-map-mobile -S

使用方法

pages.json 配置 easycom 规则(按需引入)

// pages.json
{
    "easycom": {
        "^ol-(.*)": "@vtx/ol-map-mobile/components/ol-$1/ol-$1.vue"
    },
    // 此为本身已有的内容
    "pages": [
        // ......
    ]
}

配置 easycom 规则后,自动按需引入,无需 import 组件,直接引用即可。

<template>
    <ol-map></ol-map>
</template>

FAQs

Package last updated on 13 Apr 2026

Related posts