This gist shows how to clip a layer with a geometry, i.e. a shape with geographical coordinates.
This gist shows how to create a mask on the map using shift-drag. This is in response to a question on the ol3-dev mailing list.
This GIST provides an example of a Google Maps map with an OL3 map as control, to give users a Google base map with OL3 content on top.
Open the corresponding bl.ock to view the example in your browser.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html ng-app='app'> | |
<head> | |
<meta charset=utf-8"> | |
<link rel="stylesheet" href="http://ol3js.org/ol3/master/build/ol.css" type="text/css"> | |
<style> | |
.map { | |
width: 600px; |
NewerOlder