Path : /home/kohli/public_html/assets/admin/plugins/gmaps/ |
Current File : /home/kohli/public_html/assets/admin/plugins/gmaps/gmaps.styles.js |
GMaps.prototype.addStyle = function(options) { var styledMapType = new google.maps.StyledMapType(options.styles, options.styledMapName); this.map.mapTypes.set(options.mapTypeId, styledMapType); }; GMaps.prototype.setStyle = function(mapTypeId) { this.map.setMapTypeId(mapTypeId); };