﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
11072	Add Info Window Html to GMarker	Ubercore	jbronn	"I did a quick search for this and didn't find any previous work.

It allows you to set HTML for a GInfoWindow on an instance of a GMarker. No support for options on the info window yet, this is just the simplest case.

I did see that it's possible to accomplish this using the GEvent class in overlays.py, but I think there's value in being able to set it directly on the marker.

google-map.js uses bindInfoWindowHtml() to add the info window when the marker is added.

A more complete solution might involve implementing GInfoWindow and GInfoWindowOptions, but I didn't want to implement them since they have no public constructor in the Google Maps API. Maybe represent the info window as a tuple of (html, { options})?

Anyway, this tackles the simplest case.

Example usage:

{{{
marker = GMarker(object.location, title=object.address)
marker.infowindowhtml = ""<p>Info Window!</p>"";
}}}
"	New feature	closed	GIS	dev	Normal	wontfix	googlemaps marker gis		Accepted	1	1	1	0	0	0
