Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new ol.layer.Tile({
- source:new ol.source.VectorTile({
- format: new ol.format.MVT(),
- url:"rectangle-1.0.0.pbf"
- })
- })
- style: function(feature, res) {
- return new ol.style.Style({
- stroke: new ol.style.Stroke({
- width: 2,
- color: 'rgba(0, 102, 204)'
- })
- })
- },
- new ol.layer.VectorTile({
- source:new ol.source.VectorTile({
- format: new ol.format.MVT(),
- url:"rectangle-1.0.0.pbf"
- })
- })
Add Comment
Please, Sign In to add comment