Introducing mapguide-react-layout: A modern viewer for MapGuide

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
28 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Introducing mapguide-react-layout: A modern viewer for MapGuide

Jackie Ng
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

Kajar
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

svlad
In reply to this post by Jackie Ng
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

Jackie Ng
In reply to this post by Kajar
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

Jackie Ng
In reply to this post by svlad
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

Kajar
In reply to this post by Jackie Ng
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

svlad
This post was updated on .
In reply to this post by Jackie Ng
Hi,
now I get
t is null in viewer.js Line 24 Row 25281

I guess it must be "deArrayifyScaleRanges"
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

GeorgesK
In reply to this post by Kajar
To Kajar,

Did you download the viewer.zip from the Releases section ? If you download the master(.zip) file, it will not work, since it doesn't have the dist/viewer.js file.

Second, do you use a specific coordinate system ? If yes, check this url :
https://github.com/jumpinjackie/mapguide-react-layout/blob/master/KNOWN_ISSUES.md#viewer

Hope this helps.

Georges
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

Kajar
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

Kajar
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

svlad
In reply to this post by Jackie Ng
It seems that the viewer works with maps and layers if they are both in  EPGS:4326.
If I change the coordinate system of a layer or a map I get errors in viewer.js.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

Jackie Ng
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

RenoSun
In reply to this post by Jackie Ng
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

Jackie Ng
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

Kajar
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

svlad
This post was updated on .
In reply to this post by Jackie Ng
That works!
How can I include raster or WMS layers?
I tryed raster sources with the same coordinate system like the map, with coordinate system override,
WMS removed all other srs from the config.xml and so on...
but in all cases I got errors.

The reason is:
CREATERUNTIMEMAP returns ScaleRange null for raster layers.

"LayerDefinition":["Library://Samples/Sheboygan
/Layers/OSM.LayerDefinition"],"LegendLabel":["OSM"],"Name":["OSM"],"ObjectId":["13483cec-86f8-11e6-8000-080027d1d906"
],"ParentId":["1347cae6-86f8-11e6-8004-080027d1d906"],"ScaleRange":null,"Selectable":["true"],"Type"
:["1"],"Visible":["false"]}]
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

Jackie Ng
In reply to this post by Kajar
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

GordonL
In reply to this post by Jackie Ng
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

svlad
This post was updated on .
In reply to this post by Jackie Ng
Hi,

the viewer sends map requests with double the width and height of the canvas.
Is this wanted?
OPERATION=GETDYNAMICMAPOVERLAYIMAGE&VERSION=2.0.0&LOCALE=en&CLIENTAGENT=ol.source.ImageMapGuide%20source&CLIP=1&SETDISPLAYDPI=96&SETDISPLAYWIDTH=2840&SETDISPLAYHEIGHT=1958&SETVIEWSCALE=47162.08831294861

The quality of raster data is very bad with ratio 2.
Reply | Threaded
Open this post in threaded view
|

Re: Introducing mapguide-react-layout: A modern viewer for MapGuide

Jackie Ng
CONTENTS DELETED
The author has deleted this message.
12