Saturday, June 19, 2010

Re: Not able to display markers on google map, please help

Have you got your PHP file in the same directory as your HTML file?

On Jun 19, 10:49 pm, sonali ajankar <ajanka...@yahoo.co.in> wrote:
> Hi,
>
>  I am able to display map on web browser by using following link,
>
> http://code.google.com/apis/maps/articles/phpsqlajax.html
>
>  But markers on the map are not displayed at all. where the xml data
>  get displayed on web browser, I am using phpsqlajax_genxml2.php for
>  taking data from mysql database.
>  Please tell me what is the problem.
>
> Ans:
>
> >I see that you're using example from this articlehttp://code.google.com/apis/maps/articles/phpsqlajax.html
> > Check out first database connection parameters (username, password) in
> > phpsqlajax_dbinfo.php, and that you included that file in your
> > phpsqlajax_genxml2.php, if they are correct let's go to next step. Try
> > to open your phpsqlajax_genxml2.php in your browser and check out do
> > you get any data parsed to XML from your database.
>
> >> Hello
>
> >> Thanks for your reply, but whatever you suggest is already working, I
> > >get the data parsed to XML from my database.
>
> > >Then also not able to display marker on my Google map.
> >> I have taken data from this file  phpsqlajax_data.sql , use   phpsqlajax_genxml2.php this php file and able to get this phpsqlajax_expectedoutput.xml output in xml browser. then by using phpsqlajax_map.htm this able to show map.
>
> But markers on the map are not displays. 
>
>
>
>
>
> > >Please help me. I am not able to understand where is the problem?
>
> > >please help me as early as possible. Thanks in advance.
>
>
>
>  phpsqlajax_genxml2.php
> 1KViewDownload
>
>  phpsqlajax_expectedoutput.xml
> 1KViewDownload
>
>  phpsqlajax_map.htm
> 3KViewDownload
>
>  phpsqlajax_map.html
> 3KViewDownload- Hide quoted text -
>
> - Show quoted text -

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate