I have multiple sources+layers being displayed on a map, each with polygons in them. I want to be able to add a "ZoomToSource" component that uses all of the sources, but currently only one source can be selected in a ZoomToSource component.

Comments

Pol’s picture

Status: Active » Needs review

Proposed solution: https://github.com/drupol/openlayers/pull/10

I'm not a git expert, I don't know why commits from @das-peter are there. I'll do beter next time. The commit to review is the last one:

https://github.com/drupol/openlayers/commit/7c9f2733920cf0631171b1b6117a...

  • Pol committed fbf1084 on 7.x-3.x
    Merge pull request #10 from drupol/Issue-2539456
    
    Issue #2539456: Zoom...
m.stenta’s picture

Status: Needs review » Reviewed & tested by the community

Great! I'm testing this now and it seems to work well! I'll mark as RTBC... but I notice that you already merged it into 7.x-3.x... so maybe this should just be "Fixed"! :-)

m.stenta’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Marking this fixed because it works in 7.x-3.x now.