mardi 21 juillet 2015

OpenLayers 3 image mask

I'm new in OpenLayer. I try to add on my map an image mask on the foreground, some kind of shadow frame. The problem is that I've not been able to find a good solution to do so by trying:

  • precompose/postcompose overload (drawing the image with the canvas's ctx)
  • adding a layer
  • adding an overlay
  • adding a div over the map (events propagation issues and jQuery exceptions)

Does anyone faced this problem ?

Many thanks.

Thomas C.

Aucun commentaire:

Enregistrer un commentaire