[master]Window Issues
Unclear as to how we get the default Google Map behavior of a single infowindow at a time.
Also, infowindows are now appearing on top of markers. How do we get those above the markers, as it previously was?
If your creating single static instances of windows then I recommend using
The key is to follow the API logic in i-markers.coffe
@scope = {
coords: '=coords', #required
show: '=show', #defaults to undefined / false
templateUrl: '=templateurl', #default is undefined
templateParameter: '=templateparameter',#default is undefined
isIconVisibleOnClick: '=isiconvisibleonclick',#default is true
closeClick: '&closeclick', #scope glue to gmap InfoWindow closeclick
options: '=options' #defaults to {} unless it is defined in the attribute
}
The above attributes are necessary to create a Window where coords is required. isIconVisibleOnClick is the option that allows a marker to be visible still when it is clicked and window shows. Now in order to have the marker in-front you just need to pass some options into the options attribute using the zindex. See here. https://developers.google.com/maps/documentation/javascript/reference#InfoWindowOptions
let me know if you need more help