百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
I

ivory-google-map

> 编程语言
开源

Google Map API v3 集成支持 PHP 5.6 及更高版本

321 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Google Map API v3 集成支持 PHP 5.6 及更高版本

README

Overview

The Ivory Google Map project provides a Google Map integration for your PHP 5.6+ project. It allows you to manage map, controls, overlays, events & services through the Google Map API v3.

php
use Ivory\GoogleMap\Helper\Builder\ApiHelperBuilder;
use Ivory\GoogleMap\Helper\Builder\MapHelperBuilder;
use Ivory\GoogleMap\Map;

$map = new Map();

$mapHelper = MapHelperBuilder::create()->build();
$apiHelper = ApiHelperBuilder::create()
    ->setKey('API_KEY')
    ->build();

echo $mapHelper->render($map);
echo $apiHelper->render([$map]);

Documentation

You're currently browsing the 2.x documentation, if you're using the 1.x, read this documentation instead.

  • Installation
  • Usage
    • Map
    • Controls
      • Map type
      • Rotate
      • Scale
      • Street view
      • Zoom
      • Fullscreen
      • Custom
    • Events
    • Layers
      • Geo Json Layer
      • Heatmap Layer
      • Kml Layer
    • Overlays
      • Marker
      • Info Window
      • Info Box
      • Polyline
      • Encoded Polyline
      • Polygon
      • Rectangle
      • Circle
      • Ground Overlay
      • Marker Clusterer
    • Places
      • Autocomplete
    • Rendering
      • Map Rendering
      • Static Map Rendering
      • Places Autocomplete Rendering
      • API Rendering
    • Services
      • Direction
      • Distance Matrix
      • Elevation
      • Geocoder
      • Place
        • Autocomplete
        • Detail
        • Photo
        • Search
      • TimeZone

Testing

The library is fully unit tested by PHPUnit with a code coverage close to 100%. To execute the test suite, check the travis configuration.

Contribute

We love contributors! Ivory is an open source project. If you'd like to contribute, feel free to propose a PR! You can follow the CONTRIBUTING file which will explain you how to set up the project.

License

The Ivory Google Map is under the MIT license. For the full copyright and license information, please read the LICENSE file that was distributed with this source code.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHP

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言