gpstest
@ 1
gpstest / WebContent / assets / plugins / gmaps / lib / gmaps.styles.js
1 2 3 4 5 6 7 8 9 |
GMaps.prototype.addStyle = function(options) { var styledMapType = new google.maps.StyledMapType(options.styles, { name: options.styledMapName }); this.map.mapTypes.set(options.mapTypeId, styledMapType); }; GMaps.prototype.setStyle = function(mapTypeId) { this.map.setMapTypeId(mapTypeId); }; |
Commits for gpstest/WebContent/assets/plugins/gmaps/lib/gmaps.styles.js
Revision | Author | Commited | Message |
---|---|---|---|
1 | lingaraj | Sat 24 Nov, 2018 13:04:59 +0000 |