I want to be able to show a custom DIV element on a Google Map (V3 API) as a marker but it only seems to allow images to be used instead. Is there any way around this using the standard google map API?
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
Here's an excellent little library: RichMarker. Its documentation is here.
You can use the
content
property of the json object passed to the constructor like this:And later change the content with the
setContent
method: