Phoogle Examples

Posted by justinjohnson on Jan 27th, 2007

When I migrated from my old blog/website/webhost one thing that got lost in the shuffle was the examples for the Phoogle Mapping class.

They can be found on the main phoogle page located at http://systemsevendesigns.com/phoogle

Next to the name of each example you will see a link that says source code, which links to a text file containing php code. Obviously you’ll need to change the API key to work with your API key and make sure that the path to phoogle.php is correct for your setup, but other than that you should just be able to copy and paste the examples.

7 Responses

  1. Mark a point on google map using php Says:

    I’m looking on how to mark a point using the Google Map API. Do you know where can I find the information?
    Thanks

    EE
    http://weblatam.com

  2. mathieu Says:

    hello
    I would like to use your script but it function not with address in french.

    When I enter, for exemple this :
    $map->addAddress(’63, boulevard Rossini, 06000, Nice, France’,”This is a bold address“);

    it display juste the city on the center, not the address.

    But when I enter your exemple :
    $map->addAddress(’208 Dingler Ave, Mooresville, NC 28115′,”This is a bold address“);

    it function, and display the good address

    Do I have to change the code address in phoogle ?

    Do you have a soluce ?
    Thanks,

    ps: sorry for my english

  3. mathieu Says:

    in fact,
    when I test the address in the api one of yahoo: http://api.local.yahoo.com/MapsService/V1/geocode?appid=YahooDemo&location=79%20bd%20gambettai%20nice

    yahoo does not find a result for this address whereas it really exists in France.

    Therefore, I think that the api of yahoo does not function with FRANCE .

    No ?

    thanks

  4. Bruno M Says:

    Hi Justin,
    I just came across the Phoogle class and I have to say it’s pretty nice!
    I have used it in one test project and it is quite helpful. I’ll make sure I leave a little donation to the project.
    I have a couple of questions though:
    Why did you decided to go with the Yahoo geocode instead of Google’s?
    Also, if I am displaying 4 address on the map, is there a way to automatically set the zoom level so that all points show up in the map when it loads?

    Thanks for your time.
    Bruno.

  5. Stefanie Says:

    Hey Justin!

    I checked out Phoogle and really like it. But - I want more :-)

    Is there a way to give pointers different colours?
    The Plan is to have a map with different qualities of distributors.

    Greetz & thx,
    Stefanie

    P.S.: The automatic zoom bruno asked for would be nice as well :-)

  6. Veljko Says:

    Yes, multiple color support would be great, but also support for latitude and longitude points. Some of our mountain bike trailheads don’t really have a street address.

  7. Jonathan Leto Says:

    The automatic zoom feature is already there, add the following line:

    $map->zoomLevel = 0;

    before the line with showMap() to your code.

    Good Luck

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

Advertisements

Recent Posts

Categories

Archives

Meta: