简体   繁体   English

地理地图数据与行动

[英]Geo Map Data to act with

I´m searching some providers or frameworks or something that can deliver a map like here: http://www.skiresort.de/skigebiete/europa/oesterreich/ 我正在搜索一些提供商或框架或可以提供这里的地图的东西: http//www.skiresort.de/skigebiete/europa/oesterreich/

I can see that on this page there are different images, so when you hover over one country, the whole image changes. 我可以看到在这个页面上有不同的图像,所以当你将鼠标悬停在一个国家/地区时,整个图像会发生变化。 Futher they are using the "map" htmltag to specify the hover regions. 他们使用“map”htmltag来指定悬停区域。

I wonder if they draw the polygons by hand or if there is some tool, as i said, some framework or something. 我想知道他们是否手工绘制多边形或是否有一些工具,正如我所说,某些框架或其他东西。

I´m searching for data only for austria. 我正在搜索奥地利的数据。 Thanks for any help and sorry, I never did something like this 感谢您的帮助和抱歉,我从未做过这样的事情

I was searching some posts here on SO, like ArcGIS, I think thats to complicated for what i need, i realy just need the same like the example above, so exactly what i need is a map of austria, and their countries and some kind of mapdata. 我在此处搜索有关ArcGIS之类的帖子,我认为那太复杂了,我确实需要像上面的示例一样的东西,所以我所需要的只是一张奥地利地图,及其国家和地区mapdata。

The <map> element refers to an ImageMap, not a geographical map. <map>元素是指ImageMap,而不是地理地图。 The idea behind an imagemap is that you have an image, and you want different areas of the image to be clickable. 图像映射背后的想法是您有一个图像,并且您希望图像的不同区域是可点击的。 So, you use coordinates to define the clickable areas (each in its own <area> tag), and then provide a URI for the areas you've defined. 因此,您可以使用坐标定义可点击区域(每个区域均位于其自己的<area>标签中),然后为您定义的区域提供URI。

When you specify your image with the <img> tag, you set the usemap attribute to specify the map definition that applies to the image. 使用<img>标记指定图像时,可以设置usemap属性以指定适用于该图像的地图定义。

There are tools online as well as in may popular web design and graphics programs that you can use to create image maps. 有一些在线工具以及流行的Web设计和图形程序中的工具,可用于创建图像地图。 Off the top of my head Adobe Fireworks provides a relatively intuitive interface for creating image maps; 头顶上的Adobe Fireworks提供了一个相对直观的界面来创建图像地图。 I'm not sure about any other programs but I'm sure you can find something that works for you. 我不确定其他任何程序,但是我确定您会找到适合您的东西。

It sounds like the main question is where you can get free boundary data for Austria. 听起来主要问题是您可以在哪里获得奥地利的免费边界数据。 Two good sources for public-domain map data: 公共域地图数据的两个好来源:

In fact, it looks like all the images you need can be found here: http://commons.wikimedia.org/wiki/Atlas_of_Austria - the different states are already highlighted for you. 事实上,您可以在此处找到所需的所有图像: http//commons.wikimedia.org/wiki/Atlas_of_Austria - 已经为您突出显示了不同的状态。 These are SVG files, so you can open them in Illustrator or Inkscape and change the colors as needed. 这些是SVG文件,因此您可以在Illustrator或Inkscape中打开它们并根据需要更改颜色。

After that, I agree with Brian: There probably isn't an application that can easily create the image map for you, so you'll need to do it by hand. 在那之后,我同意Brian的观点:可能没有一个可以轻松为您创建图像映射的应用程序,因此您需要手工完成。 Fireworks or ImageReady are standard tools for this, and should both provide a UI for doing the rollover the way you want. Fireworks或ImageReady是这方面的标准工具,它们都应该提供用于按照您的方式进行翻转的UI。 You might want to put all the highlights in one image and use a CSS Sprite approach - this is a good way to make the map fast and responsive. 您可能希望将所有高亮显示在一张图像中,并使用CSS Sprite方法-这是使地图快速响应的好方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM