sfEasyGMapPlugin - 3.0.0

An easy, object-oriented, PHP abstraction of the Google Maps API

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute

Changelog for release 3.0.0 - 16/10/2009

  • Added nice samples
  • Use the Google Map API v3

Other releases

Release 3.1.0 - 20/11/2009

  • corrected package.xml
  • added GMapDirections functionalities

Release 3.0.0 - 16/10/2009

  • Added nice samples
  • Use the Google Map API v3

Release 1.0.4 - 03/06/2009

  • Added a very practical function $gMap->getBoundsFromCenterAndZoom(...) which enables one to calculate server-side the bounds corresponding to specific center coordinates, zoom, and map size. This is the equivalent client-side of map.setCenter(...,...);map.setZoom(...);map.getBounds(); It uses Mercator projection formulas as used by the Google Maps
  • A new function function $gMapMarker->isInsideBounds($bounds)
  • Corresponding Unit tests
  • And a new sample using the two last functionalities

Release 1.0.3 - 03/05/2009

  • Added tomr's contribution: it is now possible to add multiple controls to the map
  • Also bundled with GMapCoord::distance($coord1, $coord2) function which gives an estimation of the distance between two coordinates

Release 1.0.2 - 03/05/2009

  • Corrected the Mercator projections for the GMapCoord::fromPixToLat and GMapCoord::fromLatToPix functions
  • Used PHP pi() and deg2rad functions for better precision
  • Created tests for the Mercator projections
  • Added the GMapBounds::getBoundsContainingMarkers($markers) function
  • Added the GMap::centerAndZoomOnMarkers() function which enables to guess zoom and center of the map to fit the markers. Center is easy to guess. Zoom uses width and height of smallest bound, pixel width and height of the map and Mercator projection

Release 1.0.1 - 15/03/2009

  • fabriceb: Corrected the package.xml to add all 1.2.x versions of symfony to the list of compatible versions

Release 1.0.0 - 13/03/2009

  • WARNING: backwards-compatibility is broken
  • The GMap constructor now takes an option array as first parameter
  • added some unit tests
  • added some very interesting functions concerning bounds : Smallest bound containing coords, homthety transformation, zoomOut, Propel criteria "In bounds"
  • added some very interesting functions concerning coordinates : you can now transform lat/lng into Google Map' pixels coordinates system and vice-versa. This enables one to calculate the bounds around a coordinate for example, knowing only the Google Map's height/width in pixels

Release 0.9.4 - 13/03/2009

  • removed the call to the Helper Tag to use the escape_javascript function to ensure symfony 1.2 compatibility