Greetings everyone! I just want to restate a few things regarding the problem with the maps feature on my site. There is nothing wrong with the php code which I wrote which finds the correct map script. Nothing has changed on my end since the day I implemented the code. http://www.elaanslist.com/display/search_results9-si.php?category=human-resorces&town=Dhoby-Ghaut The url contains two variables: category and town. It is the town variable which is used to find the correct script. If the town value is Dhoby-Ghaut, then the php finds a file called Dhoby-Ghaut.dat and includes the contents of that file in the page. If the town value is Aljunied, then the php finds the file Aljunied.dat and includes the contents of that file in the page. It's quite easy to achieve this with php. The category variable is unrelated to the map-pull feature. The value of the category variable simply pulls the search terms (from another file) to use in the Google search box below the map to assist the user in finding relevant info from the map. Each .dat file contains one script, a script that was generated by Google as a 'code snippet' which pulls the correct map (area) that the users wants information from. What HAS happened is that something has changed on the 'Google' end because the code snippet is now returning an error ('GIcon is undefined'). My first reaction was to regenerate the 'code snippet'. But now the version 2 generator has been removed from the page that used to present it for use. Granted, V2 is deprecated, but where is the 'snippet generator' for version 3? I can't find it. I would happily change/update my php code to include a new code snippet which is compatible with the Google update, but again I cannot find the 'code snippet' generator for version 3 (if there is one). I am not a developer, and I totally respect all you for your efforts and knowledge. I am a php programmer. I don't know javascript, but if you show me the javascript code I can certainly read it and make code changes to it since the structural similarities are evident as to how it is written. I feel very comfortable with page coding. My pages contain both php and javascript...and they all work (I wrote the code for the entire site from scratch, just as you guys do.). I studied the *Maps Javascript API V3/Home* tutorial example and it makes sense to me. However, when I upload the sample files, I get a javascript error and no map displays. What's that about? If I could get that to work I could probably proceed with adjusting the code to create a tailored script for use on my site. I played with the code for 3+ hours this morning. Itt makes sense but even with the supplied code in the tutorial, I get errors. Has anyone else noticed this? I would sincerely like to know what changes Google has made so I can align my program code to those changes. But right now I am dead-in-the-water with regards to the maps feature on the search page. The code snippet generator would be the most convenient route for me, but I am willing to apply some brain power to creating my own <script> like you guys do. As I said before, please don't give up on this problem I have. I would like to include the maps feature on my search pages, but as it stands now, there are some 'unknowns' making this a difficult problem to solve. Any questins, please ask. Thanks, and have a great day! Mike P
-- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-api/-/8JigcrXE1sUJ. 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-maps-api?hl=en.
