PHP Classes

customisation help

Recommend this page to a friend!

      gmaps3simple  >  All threads  >  customisation help  >  (Un) Subscribe thread alerts  
Subject:customisation help
Summary:how to customise places
Messages:2
Author:rob webster
Date:2011-11-03 14:33:31
Update:2011-11-03 22:34:06
 

  1. customisation help   Reply   Report abuse  
Picture of rob webster rob webster - 2011-11-03 14:33:31
If I understand correctly, the places example gets its place data from Google Maps places. Can I use it with my own places file? How?

  2. Re: customisation help   Reply   Report abuse  
Picture of Federico Ghedina Federico Ghedina - 2011-11-03 22:34:06 - In reply to message 1 from rob webster
Hi Rob,
I think You misunderstood the functionality offered by the google places API (refer to that url for the bset information: http://code.google.com/apis/maps/documentation/javascript/places.html).
I particular in the introduction You can find two clue lines:
"The Google Places JavaScript library's functions enable your application to search for Places (defined in this API as establishments, geographic locations, or prominent points of interest) contained within a defined area, such as the bounds of a map, or around a fixed point.".
Seem really that the set of theese points is not populated by users will; instead seem that google provides it, and you can look at it as it is.

So, whe you say "my own places file", You're talking about what? What kind of file is that?... I suppose You mean to add some point about your business, maybe from a set of addresses, displaying some info in the baloons and maybe even customizing the markers. If is that the case, You can do it using the third or fourth (or x-th) example in the page pointed from the related links section; no need to use "places" functionality.

Please if instead I misunderstood your request or my answer is not clear, help me to understand what is the problem trying to spend some more words to describe it. Meanwhile, have a great day, bye , Federico.