php-google-maps/php-google-maps

PHP Google Maps API for PHP 5.3+

Installs: 4 599

Dependents: 1

Stars: 69

Watches: 19

Forks: 38

Open Issues: 10

Language: PHP

dev-master 2013-10-17 23:21 UTC

README

For PHP 5.3+ and Google Maps API v3

Features

  • Adsense ads
  • Binding map objects
  • Custom map controls
  • Directions with waypoints ( walking, biking and driving )
  • Event listeners and DOM event listeners
  • Fusion tables
  • Geocoding
  • Geolocation
  • Ground overlays
  • KML layers
  • Custom map styles
  • Markers
  • Marker clustering
  • Custom marker icons
  • Marker staggering
  • Marker animation (bounce, drop)
  • Mobile display
  • Panoramio layers
  • Polygons and polylines
  • Shapes (rectangles and circles)
  • Sidebar
  • Static Map
  • Streetview
  • Simple configuration of map objects

Autoloading

Use the included autoloader

    require( '../PHPGoogleMaps/Core/Autoloader.php' );
    $map_loader = new SplClassLoader('PHPGoogleMaps', '../');
    $map_loader->register();

This is the autoload from the PSR-0 Final Proposal.