-
Notifications
You must be signed in to change notification settings - Fork 765
Open
Description
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');
}
Metadata
Metadata
Assignees
Labels
No labels