开发者

Google Maps API: colouring locations

Apologies if this is dead simple..

I can see that it's possible to draw on an area using overlays, but is it possible to just draw(colour) a location (a pair of longitude and latit开发者_JAVA百科ude coordinates)?

I need to colour a map by specifying a colour for every location I have available in my database.

I'm also a bit concerned about the speed.

Any ideas/advice welcome!

Thanks


A lat/lon pair represents a point, and a point has zero size. You cannot color something that has no size, therefore you need to represent those points with something bigger than a point, like a marker or a polygon, both of which are overlays.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜