Accept HTMLCanvasElement for an icon's img
This commit is contained in:
9
examples/icon-negative.html
Normal file
9
examples/icon-negative.html
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
layout: example.html
|
||||
title: Icon Pixel Operations
|
||||
shortdesc: Canvas pixel operations on a point icon.
|
||||
docs: >
|
||||
Example using an icon to symbolize a point. Click on the icon to select it, and it will be rendered using its negative image.
|
||||
tags: "vector, style, icon, marker, canvas, select"
|
||||
---
|
||||
<div id="map" class="map"></div>
|
||||
Reference in New Issue
Block a user