You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to use Google Map custom styles feature to style the map. It is possible to have from OL google layer since it create map instance using google api.
How can I make changes and contribute here?
Code snippet on this issue.
OpenLayers.Layer.Google.prototype.setstyle = function () {
this.type = 'styled';
var mapStyle = [];
var styledMapType = new window.google.maps.StyledMapType(mapStyle, { name: "styled" });
var googleMapObj = mapLayer.mapObject;
googleMapObj.mapTypes.set('styled', styledMapType);
googleMapObj.setMapTypeId('styled');
}
The text was updated successfully, but these errors were encountered:
We are trying to use Google Map custom styles feature to style the map. It is possible to have from OL google layer since it create map instance using google api.
How can I make changes and contribute here?
Code snippet on this issue.
The text was updated successfully, but these errors were encountered: