2017 © Pedro Peláez
 

library gmaps-marker-creator

A small API that creates custom markers for Google Maps

image

xiphe/gmaps-marker-creator

A small API that creates custom markers for Google Maps

  • Wednesday, March 13, 2013
  • by Xiphe
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Google Maps Marker Creator

A small API that creates custom markers for Google Maps, (*1)

Source Sans Pro by Paul D. Hunt SIL Open Font License, 1.1, (*2)

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., (*3)

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

font-weight [default: 'normal'] Can be 'normal' or 'bold'., (*5)

color [default: '000000'] The RGB Font-Color in hexadecimal format., (*6)

border-color [default: '9D3E38'] The RGB Border-Color in hexadecimal format., (*7)

background-color [default: 'FE7D72'] The RGB Background-Color in hexadecimal format., (*8)

font-size [default: 17] The font size for the content., (*9)

left [default: 6] X-Offset of the content, (*10)

top [default: 16] Y-Offset of the content, (*11)

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, (*12)

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., (*13)

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., (*14)

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., (*15)

The Versions

13/03 2013

dev-master

9999999-dev https://github.com/Xiphe/GMapsMakerCreator

A small API that creates custom markers for Google Maps

  Sources   Download

GNU GENERAL PUBLIC LICENSE

The Requires

  • php >=5.3

 

by Hannes Diercks

13/03 2013

v1.0.1

1.0.1.0 https://github.com/Xiphe/GMapsMakerCreator

A small API that creates custom markers for Google Maps

  Sources   Download

GNU GENERAL PUBLIC LICENSE

The Requires

  • php >=5.3

 

13/03 2013

v1.0.0

1.0.0.0 https://github.com/Xiphe/GMapsMakerCreator

A small API that creates custom markers for Google Maps

  Sources   Download

GNU GENERAL PUBLIC LICENSE

The Requires

  • php >=5.3