Discussion:
Help on React template
(too old to reply)
TabrizSoftware
2017-06-18 12:10:30 UTC
Permalink
Raw Message
Hi,
I am working on React web layout
I want to create a custom small component that refresh current map layers.
but i don't know how access to refresh map command in my component.
please help me.
thanks





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Help-on-React-template-tp5324579.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
Jackie Ng
2017-06-19 06:15:56 UTC
Permalink
Raw Message
Are you using the standard viewer bundle (from GitHub releases page) or a
custom bundle using the npm module?

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Help-on-React-template-tp5324579p5324619.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
TabrizSoftware
2017-06-19 07:03:41 UTC
Permalink
Raw Message
Hi Jackie
I am using standard viewer

thanks



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Help-on-React-template-tp5324579p5324622.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
Jackie Ng
2017-06-19 08:54:28 UTC
Permalink
Raw Message
I'm curious what you're actually doing because custom templates and
components is a use case only supported by the [custom viewer bundle using
the npm module] and not the standard bundle.

Unless you are using a different definition of component from mine (which is
a React component that uses modules/components provided by the npm module)

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Help-on-React-template-tp5324579p5324634.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

Loading...