googlearchive / js-info-bubble

A library for customizable CSS3 InfoWindows in the Google Maps JavaScript API v3
Apache License 2.0
226 stars 183 forks source link

add `closeSrc` option #1

Closed vxsx closed 9 years ago

vxsx commented 9 years ago

There's sometimes a need to specify your own image for the close icon While you can run hideCloseButton and create your own image with your own binding it's much easier to just specify your url for it.

Compiled version was done with java -jar compiler.jar --compilation_level ADVANCED_OPTIMIZATIONS --externs google_maps_api_v3_16.js --output_wrapper '(function(){%output%})();' --js_output_file=src/infobubble-compiled.js 'src/infobubble.js'

I also changed url for externs because old one didn't work. The only version of the file I managed compiled version to work with is for 3.16 I am not sure if I should've done it, so please advise.

Individual CLA is signed.

broady commented 9 years ago

@skarEE @brendankenny PTAL!

skarEE commented 9 years ago

LGTM!