🚀 Socket Launch Week Day 4:Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection.Learn more
Sign In

@vtx/ol-map-mobile

Package Overview
Dependencies
Maintainers
6
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtx/ol-map-mobile

uni-app组件库

latest
npmnpm
Version
1.0.30
Version published
Weekly downloads
21
-89.29%
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 06 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts