← Back to team overview

dhis2-devs team mailing list archive

Re: Fwd: An issue in the GIS map plug-in - legendSet id

 

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@xxxxxxxxx> 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
>
> On Mon, May 9, 2016 at 3:21 PM, Chameera Mirihella <chameera9019@xxxxxxxxx
> > wrote:
>
>> please see the forwarded message.
>> any suggestion is appreciated.
>>
>> Thanks,
>> Chameera.
>>
>>
>>
>> ---------- Forwarded message ---------
>> From: Chameera Mirihella <chameera9019@xxxxxxxxx>
>> Date: Fri, May 6, 2016 at 2:46 PM
>> Subject: An issue in the GIS map plug-in - legendSet id
>> To: dhis2-devs@xxxxxxxxxxxxxxxxxxx <dhis2-devs@xxxxxxxxxxxxxxxxxxx>
>>
>>
>> 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: 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.
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

PNG image


Follow ups

References