Hello,

I am thinking about modifying a script in order to add the possibility  
of zooming at some specific locations.

http://www.serate-italiane.dk/phpsqlajax_map.htm

I could be done by selecting from a list of options (cities)

It should look like something like this
http://www.serate-italiane.dk/map_scegli_citta.htm

in the script which I have used an array of geocode responses for the  
5 cities. is built 'manually' like below.
I would like to extend it so that it is built dynamically trough PHP,  
accessing the information saved in the mysql database.

Any hints on how to use PHP to build a Javascript Array? I guess that  
if I manage to do that, then that would do the job.


     // Builds an array of geocode responses for the N cities.

  var city = [

     {
         name: "Washington, DC",
         Status: {
           code: 200,
           request: "geocode"
         },
         Placemark: [
           {
             address: "Washington, DC, USA",
             population: "0.563M",
             Point: {
               coordinates: [-77.036667, 38.895000, 0]
             },
             AddressDetails: {
               Country: {
                 CountryNameCode: "US",
                 AdministrativeArea: {
                 AdministrativeAreaName: "DC",
                   Locality: {LocalityName: "Washington"}
                 }
               }
             }
           }
         ]
       },


http://www.serate-italiane.dk/phpsqlajax_map.htm


On 01/04/2009, at 16.19, Jeremy Geerdes wrote:

>
> In general, yes, it's possible.  But it's tough to tell you what to do
> without seeing what you're doing right now.  Please provide a link to
> your page.
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:
> http://jgeerdes.home.mchsi.com
> http://jgeerdes.blogspot.com
> http://jgeerdes.wordpress.com
> [email protected]
>
> Unless otherwise noted, any price quotes contained within this
> communication are given in US dollars.
>
> If you're in the Des Moines, IA, area, check out Debra Heights
> Wesleyan Church!
>
> And check out my blog, Adventures in Web Development, at 
> http://jgeerdes.blogspot.com
>  !
>
>
> On Apr 1, 2009, at 8:52 AM, fishingman wrote:
>
>>
>> Dear Group,
>>
>> What I am trying to accomplish is a page on my website full of  
>> fishing
>> tips by category, ie.. bass, walleye, crappie, etc.... I tried to put
>> multiple channels on the page but only the first channel would load.
>> Is it possible to have more than one channle on a page? If so how do
>> you accomplish this task?
>>
>> Thanks!
>>
>>>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to