在gmap上突出显示了一个国家的具体状态 [英] showing specific state of a country on gmap highlighted
问题描述
我想实现像
- 将倒转的kml导入FusionTable并在地图上显示(似乎不再有效)
I wants to show specific state of a country as highlighted and remaining area in shadow.
I wants to implement like http://www.redfin.com/homes-for-sale#!disp_mode=M&lat=29.770534985365693&long=-95.21904093471284&market=houston&sf=1,2&v=8&zoomLevel=8
I had searched about this and what I understand that, I needs to use overlay for that.
I have one question,
Would I needs to provide lat and lng for borders or it can be achieved by providing some parameter like state code etc.
Any example of showing shadow and highlighted area will be great help.
Would I needs to provide lat and lng for borders
You need access to the to the coordinates of the borders, then make them a hole in a polygon that covers the world (or at least the area of interest).
There are options:
- import the inverted kml into a FusionTable and display that on a map (doesn't seem to be working anymore)
这篇关于在gmap上突出显示了一个国家的具体状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!