Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    PHP GoogleMapAPI 2.5

    Download button

    No screenshots available
    Downloads: 2,085  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.1/5)
    19 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Monte Ohrt | More programs
    LGPL / FREE
    September 21st, 2007, 13:35 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    PHP GoogleMapAPI description

    PHP GoogleMapAPI is a full-featured Google Map API for PHP.

    GoogleMapAPI is a library used for creating google maps using the Google Map public API.

    Here are some key features of "PHP GoogleMapAPI":

    · auto-geocode lookups
    · geocode caching
    · map directions
    · adding markers and polylines by address or geocoordinates
    · sidebar generation
    · ...and many more.

    SYNOPSIS:

    < ?php
    require('GoogleMapAPI.class.php');

    $map = new GoogleMapAPI();
    // setup database for geocode caching
    $map->setDSN('mysql://USER:PASS@localhost/GEOCODES');
    // enter YOUR Google Map Key
    $map->setAPIKey('YOURGOOGLEMAPKEY');

    // create some map markers
    $map->addMarkerByAddress('621 N 48th St # 6 Lincoln NE 68502','PJ Pizza','< b>PJ Pizza< /b>');
    $map->addMarkerByAddress('826 P St Lincoln NE 68502','Old Chicago','< b>Old Chicago< /b>');
    $map->addMarkerByAddress('3457 Holdrege St Lincoln NE 68502',"Valentino's","< b>Valentino's< /b>");
    ?>

    < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
    < html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" >
    < head>
    < ?php $map->printHeaderJS(); ?>
    < ?php $map->printMapJS(); ?>
    < /head>
    < body onload="onLoad()">
    < table border=1>
    < tr>< td>
    < ?php $map->printMap(); ?>
    < /td>< td>
    < ?php $map->printSidebar(); ?>
    < /td>< /tr>
    < /table>
    < /body>
    < /html >

    What's New in This Release:

    · A bug with "from" address directions has been fixed.



    Product's homepage

      


    TAGS:

    PHP library | google map | PHP API | PHP | google | map

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM