Results 1 to 4 of 4

Thread: Google Maps PHP Class Phoogle

  1. #1
    Join Date
    Feb 2007
    Posts
    51

    Default Google Maps PHP Class Phoogle

    http://www.systemsevendesigns.com/phoogle

    I found this Google Maps PHP Class which seems really cool and simple. However it only seems to work with some countries. As I have a Swedish directory I´d like Swedish maps, but that doesn´t work.

    I can get Norwegian and Finnish maps to work, but not Swedish or Danish. See example-links below:

    Map of Oslo, Norway working

    Map of Stockholm, Sweden not working

    Below each map you can see the code (or parts of the code) I use to generate the map.

    Can anyone PLEASE help me to get the Swedish maps to work properly. I´d be happy to donate a small sum in return for a working solution.

    And yes, I have contacted systemsevendesigns and asked them for help but not an answer in three months

  2. #2
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    just using the google api isnt difficult, and it has loads if instructions. check the google geocoder works where you are, it doesnt in the UK
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  3. #3
    Join Date
    Feb 2007
    Posts
    51

    Default

    The geocoder seems to be working in Sweden.

    I tried using the address used in the script: http://maps.google.com/maps/geo?&out...almo,%20sweden

    The link above with my key returns the following XML:
    PHP Code:
      <?xml version="1.0" encoding="UTF-8" ?> 
    - <kml xmlns="http://earth.google.com/kml/2.0">
    - <Response>
      <name>kungsgatan 24, malmo, Sweden</name> 
    - <Status>
      <code>200</code> 
      <request>geocode</request> 
      </Status>
    - <Placemark id="p1">
      <address>Kungsgatan 24, 21149 Malmö, Sweden</address> 
    - <AddressDetails Accuracy="8" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
    - <Country>
      <CountryNameCode>SE</CountryNameCode> 
    - <AdministrativeArea>
    - <SubAdministrativeArea>
      <SubAdministrativeAreaName>SkĂĄne Län</SubAdministrativeAreaName> 
    - <Locality>
      <LocalityName>Malmö</LocalityName> 
    - <Thoroughfare>
      <ThoroughfareName>Kungsgatan 24</ThoroughfareName> 
      </Thoroughfare>
    - <PostalCode>
      <PostalCodeNumber>21149</PostalCodeNumber> 
      </PostalCode>
      </Locality>
      </SubAdministrativeArea>
      </AdministrativeArea>
      </Country>
      </AddressDetails>
    - <Point>
      <coordinates>13.012206,55.602050,0</coordinates> 
      </Point>
      </Placemark>
      </Response>
      </kml>
    But it doesn´t render properly. Inspireme, is this what you mean by checking Geocode-support?

  4. #4
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    yep, if the geocoder works then you can follow these instructions :

    http://www.nicecoder.com/community/s...ht=google+maps
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

Similar Threads

  1. Google Maps On Your Detail Page
    By gspinney in forum Blocks and Modification
    Replies: 26
    Last Post: 04-03-2008, 03:19 PM
  2. Google Maps Smarty
    By Antony in forum Blocks and Modification
    Replies: 0
    Last Post: 09-07-2007, 09:44 AM
  3. Google Maps Now with 360 Streetside Views
    By crespowu in forum Customers Lounge
    Replies: 0
    Last Post: 05-31-2007, 03:38 AM
  4. Google Maps
    By AnnaBella in forum Blocks and Modification
    Replies: 19
    Last Post: 05-17-2007, 05:36 AM
  5. Google maps prob
    By alfo in forum v5.x
    Replies: 8
    Last Post: 09-20-2006, 08:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •