[mapguide-internals] Motion: Printable XYZ Raster & Vector Tiles

Jackie Ng jumpinjackie at gmail.com
Thu Jul 9 07:58:19 PDT 2020


Hi Reno,

Just a little update on this idea.

I have integrated mapguide-react-layout into one of our commercial products
and one of the requirements born out of this integration is the need to be
able to "print" the current view to a basic A4 page.

Now assuming that the use case is quick-and-easy printouts from the browser
and not CAD-tier plotting, it turns out that openlayers makes this quite
easy to do through its rendercomplete event.

You can see how mapguide-react-layout uses this code here:
https://github.com/jumpinjackie/mapguide-react-layout/blob/0105e10c133a08231467a8483e3a5cd7243ead50/src/components/map-providers/base.ts#L249

And to see what this looks like in action, checkout the work-in-progress
standalone (no MapGuide dependencies) template demo here:

https://jumpinjackie.github.io/mapguide-react-layout/master/generic-demo/index.html


Just click the printer icon

- Jackie


> Hi All,


> Would you please vote if you would like to see XYZ raster/vector tiles be
> printable using Fusion viewer?


> The main reason why I think it's a good idea are as follows:


> 1. The performance to tile services provided by the company such as MapBox
> is the way faster compared using native MapGuide tile service.
> 2. Most of non-IT background users are confused about why couldn't they
> print the map with basemap (XYZ tiles) when they are using Print/Quick Plot
> function.
> 3. Many raster/vector XYZ tile data served by MapBox or ESRI ArcGIS
> Enterprise are belong to users' organization, so it will be very powerful
> and helpful to be able to print their maps with those raster/vector tiles
> using Fusion.


> We can limit any illegal usages by using disclaimer or programmatic
> restriction using Maestro. For example, we can make only the commercial
> maps
> using Google/Bing XYZ raster tiles/API non-printable.


> Thanks,
> Reno


More information about the mapguide-internals mailing list