承接 xiphe/gmaps-marker-creator 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

xiphe/gmaps-marker-creator

Composer 安装命令:

composer require xiphe/gmaps-marker-creator

包简介

A small API that creates custom markers for Google Maps

README 文档

README

A small API that creates custom markers for Google Maps

Source Sans Pro by Paul D. Hunt SIL Open Font License, 1.1

Options

Thus far, the following options can be passed into maker creation. Either by setting them inside the $_GET variable or by passing them into the construction.

content [default: '•'] The Letters or Symbols shown on the Marker. (Maximal two letters)

font-weight [default: 'normal'] Can be 'normal' or 'bold'.

color [default: '000000'] The RGB Font-Color in hexadecimal format.

border-color [default: '9D3E38'] The RGB Border-Color in hexadecimal format.

background-color [default: 'FE7D72'] The RGB Background-Color in hexadecimal format.

font-size [default: 17] The font size for the content.

left [default: 6] X-Offset of the content

top [default: 16] Y-Offset of the content

Example

/* include the class file. */
include 'GMapsMarker.php';

/* Display the Marker image */
echo new Xiphe\GMaps\Marker(array('content' => 'A'));

Todo

  • Implement @2x
  • Other Fonts

License

Copyright (C) 2013 Hannes Diercks

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GNU
  • 更新时间: 2013-03-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固