开发者

Append HTML with Google Map Marker Icon

I am working on weather website.

I am using Google Maps as backbone.

I am marking the major citi开发者_高级运维es of country with Marker.

Depending upon the weather type like sunny, partly_cloudy I am changing the marker image.

Now with marker image I want to show a div with current temperature.

My plan was to append some with marker image but I was not able to achieve this.

Help me folks.


You can display custom made div's on the map using custom overlays.

Check the google map api documentation about the topic

Marker Light - Markers on a diet has a good example of custom layers using the version 2 of the api. I couldn't manage to find good examples for the 3rd version.


Check this out. I've found it very usefull and it's for v3 :)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜