We found a map website made by SVG: chinaquest

Source: Internet
Author: User
In fact, I have been to chinaquest a long time ago. At that time, I may still use plug-ins, so I have never been interested in him or not. Today, I happened to see that SVG was used.
After installing Adobe's SVG browser, you can see it. Not bad. You can't think of it as well.
View their CodeA full map of Shanghai is provided, but it is a pity that there will be no more. It seems to be a full graph. When you zoom in a range or drag it, it will generate an SVG cache to its server.
But what I don't know is that svgz is the SVG compression format. on the server side, he dynamically generates SVG from XML or databases and compresses it into svgz? And can svgz contain JS Code?
In fact, my goal is very simple. I just want to see the metadata in their SVG (including names and coordinates, but unfortunately these coordinates are not real coordinates ), let's take a look at how they display the map.
I don't know JavaScript or SVG, and I like my friends for more research.
The following two useful links are attached:
1. A simple WebGIS using SVG: http://songsgroup.cnblogs.com/archive/2005/09/26/243983.html. This eldest brother has published only one classic article Article, Dizzy. However, I still think it is worth studying.
2. Metamap: Memory. The menu on the left is made of SVG, the map is also made of SVG, and there is a tip box.
It seems that this GIS is booming. Plug-ins are small in Java. ProgramType, SVG type, raster type, and VML type.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.