澳大利亚郊区的谷歌地图底纹 [英] Google Maps Shading of Australian Suburbs

查看:212
本文介绍了澳大利亚郊区的谷歌地图底纹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一种方法来根据我输入的不同颜色色光澳大利亚的郊区。
不知道如何与谷歌地图API做到这一点。
谷歌地图拥有澳大利亚郊区的界限,我要告诉谷歌地图遮阳每个郊区根据我的指令不同的颜色。我非常非常开放如何做到这一点。

I need a way to shade Australian suburbs in different colours based on my input. Not sure of how to do this with Google Maps API. Google maps has Australian suburbs boundaries and I want to tell Google Maps to shade each Suburb a different colour based on my instruction. I am very very open to how to do this.

我的目标是有一个谷歌地图是互动有郊区阴影不同的颜色。您可以缩小和跨越地区看看,看看是否有共同的或不同颜色的郊区。关键将根据事情像中等房价,房屋销售数量,人口结构等。

My goal is to have a Google Map that is interactive that has suburbs shaded different colours. You can zoom out and look across a region and see if there are suburbs in common or with different colours. The key would be based on things like Median house price, house sale volumes, demographics etc.

为什么:有3个理由这样做。

Why: There are 3 reasons to do this.


  1. 要放置在PowerPoint报告的截图

  2. 发送一个链接到一个客户,并显示它们与不同的信息连接codeD
  3. 他们的地区
  4. 在日后兴建的一个系统,从DB拉这并生成这是一个门户网站的一部分

如何:我有A S preadsheet像信息:樱桃小溪,红色,城堡山,蓝,Kellyville的,粉红色(或HTML颜色或数字 - 无论可生成所需的格式)

How: I have a spreadsheet with information like: Cherrybrook, Red, Castle Hill, Blue, Kellyville, Pink (or HTML colours, or numbers - whatever the format required can be generated).

如果可能,我也想根据他们成为颜色(这可能是谷歌地球功能)来标记郊区。

If possible I also want to label the suburbs based on the colour that they become (this may be a Google Earth feature).

推荐答案

您可能能够使用多边形类,但有多少多边形,你可以一次显示性能极限。如果你只有一次显示一站地铁领域,你可能是正确的。

You might be able to use the Polygon class, but there are performance limits on how many polygons you can show at once. If you only show one metro area at a time, you might be okay.

更可能的是,你将要创建的瓷砖。看到
    https://developers.google.com/maps/documentation/javascript/overlays
对于瓷砖的文档。

More likely, you will want to create tiles. See https://developers.google.com/maps/documentation/javascript/overlays for documentation on tiles.

这是非常强大的。可以看到,例如,一个网站我和一个朋友做它通过使用瓷砖显示了人口普查2006年澳大利亚人口普查数据:
    http://sunburntpeople.com/census/

This is very powerful. You can see, for example, a web site I and a friend made which shows Australian 2006 census data by census tract by using tiles at: http://sunburntpeople.com/census/

这篇关于澳大利亚郊区的谷歌地图底纹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆