maskchildren on plugin map and spot

  • hello,
    I have a plugin map container with osm map:

    The activespot changes x, y when dragging/moving the map according to a function of lat/lng of the point on the map. But when x, y are outside the plugin width and height the activespot is still visible, despite maskchildren="true" attribute on map plugin.
    On my_map_plugin.js I set:

    plugin.sprite.style = "align-items:center";

    If that line is omitted the activespot is masked out as expected per maskchildren="true" attribute.
    But in this case the map is shown in the topleft of the map container (the rest of the map container is void).

    Any idea about this behaviour?
    Thank you for any suggestions and help.

    Giuseppe

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!