Although there are one months to go before Christmas, but I still early to give everyone a Christmas present, then what is the Christmas gift in the end. Is the Google Maps API Development sample example. But this gift is not what I sent to you, but Google Maps China's development team to give you, because I also downloaded from their googlecode, the specific address: http://code.google.com/p/chinamaps/. Of course, there are a lot of good examples, even here I can see the national bus data information, are itching to download the analysis and analysis. Today, a friend of mine had a message on the log saying whether there were any examples available, so I turned over my early SVN down the code, a lot of things, but the example of this Christmas map feel particularly complete, but also really very good, should be said to use the content is very comprehensive, even than I do share in Shanghai better, I did not refer to this code at that time, I was puzzled. OK, so why do I recommend it? Because:
1,json data feeds. While the static JSON is now available, I would like to change it to a dynamic JSON feed, so I can learn how to handle the Google Maps API and JSON.
2, the results list and map marker part of how to linkage. The regular results list came out, but floating in the results list do not know which marker on the map, or on the map of a marker but do not know what the results of the property, remember the previous in the use of Mapbar JS development of the encounter this problem, even to today I do also feel a little head big And see how the Google team is doing it.
The icon switch on the 3,marker and the tab display of the infowindows. Of course, these are small case.
4, finally see how to do the search, like JS search, although not a powerful search function but it is worth learning.
Say much, anyway I did not how to see the code, a simple look at the people who think the code and I do not code to write the code is really different ah. Finally look at the effect bar, online onlookers address (temporary): http://rovertang.com/labs/XmasMap/, if you click on the link to feel the trouble, then directly look at the map can be.
Finally, welcome to discuss learning Gmapapi, by the way, the code copyright belongs to Google Maps China team All, I am just a porter. Download Address: Http://files.cnblogs.com/Tangf/XmasMapDemo.rar