An issue in the GIS map plug-in - legendSet id

Hello team,

We try to embed a map with the GIS map plug-in as explained in this article.

http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s29.html#d5e3740

system version is DHIS 2.21

everything works fine other than this legendSet object in mapViews property. when we include legend set with predefined id, it gives this error in the console and stop further processing.

image

our requirement is to generate a particular map with predefined legendSet using gis map plug-in.

any suggestion is appreciated.

Thanks,

Chameera.

please see the forwarded message.
any suggestion is appreciated.

Thanks,

Chameera.

image

···

---------- Forwarded message ---------
From: Chameera Mirihella chameera9019@gmail.com
Date: Fri, May 6, 2016 at 2:46 PM
Subject: An issue in the GIS map plug-in - legendSet id
To: dhis2-devs@lists.launchpad.net dhis2-devs@lists.launchpad.net

Hello team,

We try to embed a map with the GIS map plug-in as explained in this article.

http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s29.html#d5e3740

system version is DHIS 2.21

everything works fine other than this legendSet object in mapViews property. when we include legend set with predefined id, it gives this error in the console and stop further processing.

gis map plug-in error.png

our requirement is to generate a particular map with predefined legendSet using gis map plug-in.

any suggestion is appreciated.

Thanks,

Chameera.

Hi

Seems you are getting a 404… which means that the object UID is not correct, maybe you need to double check it?

image

···

On Mon, May 9, 2016 at 3:21 PM, Chameera Mirihella chameera9019@gmail.com wrote:

please see the forwarded message.
any suggestion is appreciated.

Thanks,

Chameera.

---------- Forwarded message ---------
From: Chameera Mirihella chameera9019@gmail.com
Date: Fri, May 6, 2016 at 2:46 PM
Subject: An issue in the GIS map plug-in - legendSet id
To: dhis2-devs@lists.launchpad.net dhis2-devs@lists.launchpad.net

Hello team,

We try to embed a map with the GIS map plug-in as explained in this article.

http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s29.html#d5e3740

system version is DHIS 2.21

everything works fine other than this legendSet object in mapViews property. when we include legend set with predefined id, it gives this error in the console and stop further processing.

our requirement is to generate a particular map with predefined legendSet using gis map plug-in.

any suggestion is appreciated.

Thanks,

Chameera.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

Hi,

Thanks for the reply.

legend set uid is correct. I think the issue is with the api call.

currently system calls to this url

…/dhis/api/mapLegendSets/legendSetUID.json

but actual legend set resource is available with this url

…/dhis/api/legendSets/legendSetUID.json

is this a bug ?

Thanks,

Chameera.

image

···

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, May 9, 2016 at 3:21 PM, Chameera Mirihella chameera9019@gmail.com wrote:

please see the forwarded message.
any suggestion is appreciated.

Thanks,

Chameera.

---------- Forwarded message ---------
From: Chameera Mirihella chameera9019@gmail.com
Date: Fri, May 6, 2016 at 2:46 PM
Subject: An issue in the GIS map plug-in - legendSet id
To: dhis2-devs@lists.launchpad.net dhis2-devs@lists.launchpad.net

Hello team,

We try to embed a map with the GIS map plug-in as explained in this article.

http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s29.html#d5e3740

system version is DHIS 2.21

everything works fine other than this legendSet object in mapViews property. when we include legend set with predefined id, it gives this error in the console and stop further processing.

our requirement is to generate a particular map with predefined legendSet using gis map plug-in.

any suggestion is appreciated.

Thanks,

Chameera.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Hm, ok… Yes, they are currently named LegendSet, so maybe there was a rename at some point.

Btw, did you try to use v221 ? or did you use the default old version that it says in docs? the version must match your dhis 2 version

image

···

On Mon, May 9, 2016 at 3:48 PM, Chameera Mirihella chameera9019@gmail.com wrote:

Hi,

Thanks for the reply.

legend set uid is correct. I think the issue is with the api call.

currently system calls to this url

…/dhis/api/mapLegendSets/legendSetUID.json

but actual legend set resource is available with this url

…/dhis/api/legendSets/legendSetUID.json

is this a bug ?

Thanks,

Chameera.

On Mon, May 9, 2016 at 1:53 PM Morten Olav Hansen morten@dhis2.org wrote:

Hi

Seems you are getting a 404… which means that the object UID is not correct, maybe you need to double check it?

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, May 9, 2016 at 3:21 PM, Chameera Mirihella chameera9019@gmail.com wrote:

please see the forwarded message.
any suggestion is appreciated.

Thanks,

Chameera.

---------- Forwarded message ---------
From: Chameera Mirihella chameera9019@gmail.com
Date: Fri, May 6, 2016 at 2:46 PM
Subject: An issue in the GIS map plug-in - legendSet id
To: dhis2-devs@lists.launchpad.net dhis2-devs@lists.launchpad.net

Hello team,

We try to embed a map with the GIS map plug-in as explained in this article.

http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s29.html#d5e3740

system version is DHIS 2.21

everything works fine other than this legendSet object in mapViews property. when we include legend set with predefined id, it gives this error in the console and stop further processing.

our requirement is to generate a particular map with predefined legendSet using gis map plug-in.

any suggestion is appreciated.

Thanks,

Chameera.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Hi Morten,

Yes you are correct. i was using the v217 libraries and i changed to v221 and api issue solved.
but two new errors are there now, after upgrade to v221.

2nd error is quite okay, probably the google map api is included in map.js also, but first one.

please let me know whether you are able to identify it.

i did exactly as described in the v221 doc.

http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual.html

pre-defined maps are working fine with no errors.

according to what I tried so far, I suspect the “columns” property in the mapViews.

(everything is hard coded for testing purpose)

Thanks,

Chameera.

image

···

On Mon, May 9, 2016 at 4:29 PM, Chameera Mirihella chameera9019@gmail.com wrote:

Hello Bharath Sir,

oh I didn’t know that, I tried with this only,

http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s29.html#d5e3740

but the code is same in both docs and source files included in there, are old, v215 only.

I changed to v221, now the api issue is fixed but another issue raised.

I will come up with full details, after I make sure it cannot be fixed in the code.

Thanks,

Chameera.

On Mon, May 9, 2016 at 2:48 PM Bharath chbharathk@gmail.com wrote:

Hi Chameera,

Hope u r referring to this manual:

http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual.html

Regards,
Bharath Kumar. Ch

On Mon, May 9, 2016 at 2:18 PM, Chameera Mirihella chameera9019@gmail.com wrote:

Hi,

Thanks for the reply.

legend set uid is correct. I think the issue is with the api call.

currently system calls to this url

…/dhis/api/mapLegendSets/legendSetUID.json

but actual legend set resource is available with this url

…/dhis/api/legendSets/legendSetUID.json

is this a bug ?

Thanks,

Chameera.

On Mon, May 9, 2016 at 1:53 PM Morten Olav Hansen morten@dhis2.org wrote:

Hi

Seems you are getting a 404… which means that the object UID is not correct, maybe you need to double check it?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, May 9, 2016 at 3:21 PM, Chameera Mirihella chameera9019@gmail.com wrote:

please see the forwarded message.
any suggestion is appreciated.

Thanks,

Chameera.

---------- Forwarded message ---------
From: Chameera Mirihella chameera9019@gmail.com
Date: Fri, May 6, 2016 at 2:46 PM
Subject: An issue in the GIS map plug-in - legendSet id
To: dhis2-devs@lists.launchpad.net dhis2-devs@lists.launchpad.net

Hello team,

We try to embed a map with the GIS map plug-in as explained in this article.

http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s29.html#d5e3740

system version is DHIS 2.21

everything works fine other than this legendSet object in mapViews property. when we include legend set with predefined id, it gives this error in the console and stop further processing.

our requirement is to generate a particular map with predefined legendSet using gis map plug-in.

any suggestion is appreciated.

Thanks,

Chameera.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Regards,
Bharath Kumar. Ch

I’m adding in Jan, I have never actually used the plugin :slight_smile:

image

···

On Tue, May 10, 2016 at 2:28 PM, Chameera Mirihella chameera9019@gmail.com wrote:

Hi Morten,

Yes you are correct. i was using the v217 libraries and i changed to v221 and api issue solved.
but two new errors are there now, after upgrade to v221.

2nd error is quite okay, probably the google map api is included in map.js also, but first one.

please let me know whether you are able to identify it.

i did exactly as described in the v221 doc.

http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual.html

pre-defined maps are working fine with no errors.

according to what I tried so far, I suspect the “columns” property in the mapViews.

(everything is hard coded for testing purpose)

Thanks,

Chameera.

On Tue, May 10, 2016 at 12:40 PM Chameera Mirihella chameera9019@gmail.com wrote:

Hi Morten,

Yes you are correct. i was using the v217 libraries and i changed to v221 and api issue solved.
but two new errors are there now, after upgrade to v221.

2nd error is quite okay, probably the google map api is included in map.js also, but first one.

please let me know whether you are able to identify it.

i did exactly as described in the v221 doc.

http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual.html

pre-defined maps are working fine with no errors.

according to what I tried so far, I suspect the “columns” property in the mapViews.

(everything is hard coded for testing purpose)

Thanks,

Chameera.

On Mon, May 9, 2016 at 4:41 PM Chameera Mirihella chameera9019@gmail.com wrote:

Thank you so much bharath sir.

On Mon, May 9, 2016 at 4:39 PM Bharath chbharathk@gmail.com wrote:

ok, Feel free to write ot me if you have any questions.

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, May 9, 2016 at 4:29 PM, Chameera Mirihella chameera9019@gmail.com wrote:

Hello Bharath Sir,

oh I didn’t know that, I tried with this only,

http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s29.html#d5e3740

but the code is same in both docs and source files included in there, are old, v215 only.

I changed to v221, now the api issue is fixed but another issue raised.

I will come up with full details, after I make sure it cannot be fixed in the code.

Thanks,

Chameera.

On Mon, May 9, 2016 at 2:48 PM Bharath chbharathk@gmail.com wrote:

Hi Chameera,

Hope u r referring to this manual:

http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual.html

Regards,
Bharath Kumar. Ch

On Mon, May 9, 2016 at 2:18 PM, Chameera Mirihella chameera9019@gmail.com wrote:

Hi,

Thanks for the reply.

legend set uid is correct. I think the issue is with the api call.

currently system calls to this url

…/dhis/api/mapLegendSets/legendSetUID.json

but actual legend set resource is available with this url

…/dhis/api/legendSets/legendSetUID.json

is this a bug ?

Thanks,

Chameera.

On Mon, May 9, 2016 at 1:53 PM Morten Olav Hansen morten@dhis2.org wrote:

Hi

Seems you are getting a 404… which means that the object UID is not correct, maybe you need to double check it?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, May 9, 2016 at 3:21 PM, Chameera Mirihella chameera9019@gmail.com wrote:

please see the forwarded message.
any suggestion is appreciated.

Thanks,

Chameera.

---------- Forwarded message ---------
From: Chameera Mirihella chameera9019@gmail.com
Date: Fri, May 6, 2016 at 2:46 PM
Subject: An issue in the GIS map plug-in - legendSet id
To: dhis2-devs@lists.launchpad.net dhis2-devs@lists.launchpad.net

Hello team,

We try to embed a map with the GIS map plug-in as explained in this article.

http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s29.html#d5e3740

system version is DHIS 2.21

everything works fine other than this legendSet object in mapViews property. when we include legend set with predefined id, it gives this error in the console and stop further processing.

our requirement is to generate a particular map with predefined legendSet using gis map plug-in.

any suggestion is appreciated.

Thanks,

Chameera.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Regards,
Bharath Kumar. Ch

Hi Chameera,

which version of DHIS 2 are you using?

If not 2.23, could you try upgrading?

regards,

Lars

image

···

On Tue, May 10, 2016 at 9:37 AM, Morten Olav Hansen morten@dhis2.org wrote:

I’m adding in Jan, I have never actually used the plugin :slight_smile:


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Tue, May 10, 2016 at 2:28 PM, Chameera Mirihella chameera9019@gmail.com wrote:

Hi Morten,

Yes you are correct. i was using the v217 libraries and i changed to v221 and api issue solved.
but two new errors are there now, after upgrade to v221.

2nd error is quite okay, probably the google map api is included in map.js also, but first one.

please let me know whether you are able to identify it.

i did exactly as described in the v221 doc.

http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual.html

pre-defined maps are working fine with no errors.

according to what I tried so far, I suspect the “columns” property in the mapViews.

(everything is hard coded for testing purpose)

Thanks,

Chameera.

On Tue, May 10, 2016 at 12:40 PM Chameera Mirihella chameera9019@gmail.com wrote:

Hi Morten,

Yes you are correct. i was using the v217 libraries and i changed to v221 and api issue solved.
but two new errors are there now, after upgrade to v221.

2nd error is quite okay, probably the google map api is included in map.js also, but first one.

please let me know whether you are able to identify it.

i did exactly as described in the v221 doc.

http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual.html

pre-defined maps are working fine with no errors.

according to what I tried so far, I suspect the “columns” property in the mapViews.

(everything is hard coded for testing purpose)

Thanks,

Chameera.

On Mon, May 9, 2016 at 4:41 PM Chameera Mirihella chameera9019@gmail.com wrote:

Thank you so much bharath sir.

On Mon, May 9, 2016 at 4:39 PM Bharath chbharathk@gmail.com wrote:

ok, Feel free to write ot me if you have any questions.

On Mon, May 9, 2016 at 4:29 PM, Chameera Mirihella chameera9019@gmail.com wrote:

Hello Bharath Sir,

oh I didn’t know that, I tried with this only,

http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s29.html#d5e3740

but the code is same in both docs and source files included in there, are old, v215 only.

I changed to v221, now the api issue is fixed but another issue raised.

I will come up with full details, after I make sure it cannot be fixed in the code.

Thanks,

Chameera.

On Mon, May 9, 2016 at 2:48 PM Bharath chbharathk@gmail.com wrote:

Hi Chameera,

Hope u r referring to this manual:

http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual.html

Regards,
Bharath Kumar. Ch

On Mon, May 9, 2016 at 2:18 PM, Chameera Mirihella chameera9019@gmail.com wrote:

Hi,

Thanks for the reply.

legend set uid is correct. I think the issue is with the api call.

currently system calls to this url

…/dhis/api/mapLegendSets/legendSetUID.json

but actual legend set resource is available with this url

…/dhis/api/legendSets/legendSetUID.json

is this a bug ?

Thanks,

Chameera.

On Mon, May 9, 2016 at 1:53 PM Morten Olav Hansen morten@dhis2.org wrote:

Hi

Seems you are getting a 404… which means that the object UID is not correct, maybe you need to double check it?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, May 9, 2016 at 3:21 PM, Chameera Mirihella chameera9019@gmail.com wrote:

please see the forwarded message.
any suggestion is appreciated.

Thanks,

Chameera.

---------- Forwarded message ---------
From: Chameera Mirihella chameera9019@gmail.com
Date: Fri, May 6, 2016 at 2:46 PM
Subject: An issue in the GIS map plug-in - legendSet id
To: dhis2-devs@lists.launchpad.net dhis2-devs@lists.launchpad.net

Hello team,

We try to embed a map with the GIS map plug-in as explained in this article.

http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s29.html#d5e3740

system version is DHIS 2.21

everything works fine other than this legendSet object in mapViews property. when we include legend set with predefined id, it gives this error in the console and stop further processing.

our requirement is to generate a particular map with predefined legendSet using gis map plug-in.

any suggestion is appreciated.

Thanks,

Chameera.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Regards,
Bharath Kumar. Ch

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Hi Morten,
:slight_smile: Thanks :wink: .

Hi Jan,

Thank you very much, now everything works fine. yes, please update the doc. Thanks again.

Hi Lars,

HISP India is doing this project. currently the client use v221. I will forward your message to responsible people.

Thanks,

Chameera.

image

···

On Tue, May 10, 2016 at 9:37 AM, Morten Olav Hansen morten@dhis2.org wrote:

I’m adding in Jan, I have never actually used the plugin :slight_smile:


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Tue, May 10, 2016 at 2:28 PM, Chameera Mirihella chameera9019@gmail.com wrote:

Hi Morten,

Yes you are correct. i was using the v217 libraries and i changed to v221 and api issue solved.
but two new errors are there now, after upgrade to v221.

2nd error is quite okay, probably the google map api is included in map.js also, but first one.

please let me know whether you are able to identify it.

i did exactly as described in the v221 doc.

http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual.html

pre-defined maps are working fine with no errors.

according to what I tried so far, I suspect the “columns” property in the mapViews.

(everything is hard coded for testing purpose)

Thanks,

Chameera.

On Tue, May 10, 2016 at 12:40 PM Chameera Mirihella chameera9019@gmail.com wrote:

Hi Morten,

Yes you are correct. i was using the v217 libraries and i changed to v221 and api issue solved.
but two new errors are there now, after upgrade to v221.

2nd error is quite okay, probably the google map api is included in map.js also, but first one.

please let me know whether you are able to identify it.

i did exactly as described in the v221 doc.

http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual.html

pre-defined maps are working fine with no errors.

according to what I tried so far, I suspect the “columns” property in the mapViews.

(everything is hard coded for testing purpose)

Thanks,

Chameera.

On Mon, May 9, 2016 at 4:41 PM Chameera Mirihella chameera9019@gmail.com wrote:

Thank you so much bharath sir.

On Mon, May 9, 2016 at 4:39 PM Bharath chbharathk@gmail.com wrote:

ok, Feel free to write ot me if you have any questions.

On Mon, May 9, 2016 at 4:29 PM, Chameera Mirihella chameera9019@gmail.com wrote:

Hello Bharath Sir,

oh I didn’t know that, I tried with this only,

http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s29.html#d5e3740

but the code is same in both docs and source files included in there, are old, v215 only.

I changed to v221, now the api issue is fixed but another issue raised.

I will come up with full details, after I make sure it cannot be fixed in the code.

Thanks,

Chameera.

On Mon, May 9, 2016 at 2:48 PM Bharath chbharathk@gmail.com wrote:

Hi Chameera,

Hope u r referring to this manual:

http://dhis2.github.io/dhis2-docs/2.21/en/developer/html/dhis2_developer_manual.html

Regards,
Bharath Kumar. Ch

On Mon, May 9, 2016 at 2:18 PM, Chameera Mirihella chameera9019@gmail.com wrote:

Hi,

Thanks for the reply.

legend set uid is correct. I think the issue is with the api call.

currently system calls to this url

…/dhis/api/mapLegendSets/legendSetUID.json

but actual legend set resource is available with this url

…/dhis/api/legendSets/legendSetUID.json

is this a bug ?

Thanks,

Chameera.

On Mon, May 9, 2016 at 1:53 PM Morten Olav Hansen morten@dhis2.org wrote:

Hi

Seems you are getting a 404… which means that the object UID is not correct, maybe you need to double check it?


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Mon, May 9, 2016 at 3:21 PM, Chameera Mirihella chameera9019@gmail.com wrote:

please see the forwarded message.
any suggestion is appreciated.

Thanks,

Chameera.

---------- Forwarded message ---------
From: Chameera Mirihella chameera9019@gmail.com
Date: Fri, May 6, 2016 at 2:46 PM
Subject: An issue in the GIS map plug-in - legendSet id
To: dhis2-devs@lists.launchpad.net dhis2-devs@lists.launchpad.net

Hello team,

We try to embed a map with the GIS map plug-in as explained in this article.

http://dhis2.github.io/dhis2-docs/master/en/developer/html/ch01s29.html#d5e3740

system version is DHIS 2.21

everything works fine other than this legendSet object in mapViews property. when we include legend set with predefined id, it gives this error in the console and stop further processing.

our requirement is to generate a particular map with predefined legendSet using gis map plug-in.

any suggestion is appreciated.

Thanks,

Chameera.


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Regards,
Bharath Kumar. Ch

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org