Reputation: 13
In ol.control.ZoomToExtent,Openlayers3 use 'E' character for view (http://openlayers.org/en/v3.5.0/examples/navigation-controls.html). But i want to add image.How to do this ?
Upvotes: 0
Views: 626
Reputation:
When you set up the control you can pass it several options, one of those is label (ZoomToExtent Documentation).
Set that label to '' and set a className to a particular style, style the element in CSS, adding an image as required.
Upvotes: 2