doublesecretagency/craft-mapbox 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

doublesecretagency/craft-mapbox

最新稳定版本:2.0.2

Composer 安装命令:

composer require doublesecretagency/craft-mapbox

包简介

Maps in minutes. Powered by the Mapbox API.

README 文档

README

Plugin icon

Mapbox plugin for Craft CMS

Maps in minutes. Powered by the Mapbox API.

Create flexible Dynamic Maps

Add markers, use popups, change marker icons, style maps, and much, much more...

Screenshot of a dynamic map

Universal API works across JavaScript, Twig, and PHP

The plugin features a powerful universal API which is nearly identical across multiple programming languages...

// JavaScript
const map = mapbox.map()
    .markers(locations, options)
    .style(mapStyle)
    .center(coords)
    .zoom(level);
{# Twig #}
{% set map = mapbox.map()
    .markers(locations, options)
    .style(mapStyle)
    .center(coords)
    .zoom(level) %}
// PHP
$map = Mapbox::map()
    ->markers($locations, $options)
    ->style($mapStyle)
    ->center($coords)
    ->zoom($level);

Includes an easy-to-use Address Field

When managing your Craft data, each location can be set with a convenient Address field...

Annotated screenshot of an Address field

How to Install the Plugin

To get started, see the complete installation instructions ➡️

Once the plugin is installed, a Mapbox Access Token will also be required.

Further Reading

If you haven't already, flip through the complete plugin documentation. The examples above are just the tip of the iceberg, there is so much more that is possible!

And if you have any remaining questions, feel free to reach out to us (via Discord is preferred).

On behalf of Double Secret Agency, thanks for checking out our plugin! 🍺

Logo for Double Secret Agency

统计信息

  • 总下载量: 385
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-05-20