jumpinjackie / mapguide-rest

REST Extension for MapGuide Open Source
GNU Lesser General Public License v2.1
26 stars 14 forks source link

Mapguide legend plot only layers visible on map #200

Closed noambrand closed 2 years ago

noambrand commented 2 years ago

I am a newbie so I hope this topic is posted in the right location. In Mapguide Open Source GIS website in the quick plot the legend includes all the layers of the map. I want to make a legend that displays only the layers that are visible on map so the legend does not display unnecessary layers. Has this been done already? If not how would you implement this?

jumpinjackie commented 2 years ago

You are taking about something that is not related to mapguide-rest at all, so you should've posted this to the mapguide-users mailing list.

On the topic at hand, I do not know what you're talking about. Quick Plot already respects visible layers.

Here's a Quick Plot of Sheboygan zoomed out

2021-11-02 15_03_16-PlotAsPDF php - Brave

And one zoomed in

2021-11-02 15_03_22-PlotAsPDF php - Brave

The layers are different in both

flipper44 commented 2 years ago

When the scale changes based on output size the visible layers will change asked on the new scale for what you chose to print.

On Mon, Nov 1, 2021, 11:08 PM Jackie Ng @.***> wrote:

You are taking about something that is not related to mapguide-rest at all, so you should've posted this to the mapguide-users mailing list.

On the topic at hand, I do not know what you're talking about. Quick Plot already respects visible layers.

Here's a Quick Plot of Sheboygan zoomed out

[image: 2021-11-02 15_03_16-PlotAsPDF php - Brave] https://user-images.githubusercontent.com/563860/139785325-2540de88-4c92-4161-b029-810cc1dadcb6.png

And one zoomed in

[image: 2021-11-02 15_03_22-PlotAsPDF php - Brave] https://user-images.githubusercontent.com/563860/139785381-6b1782ba-c468-47de-ac9a-f62b67c6172e.png

The layers are different in both

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jumpinjackie/mapguide-rest/issues/200#issuecomment-957084653, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2C75Z4SRG4R6K6HVYL7WDUJ5P2RANCNFSM5HCNNBYA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.