← Back to team overview

dhis2-devs team mailing list archive

Displaying the borders and thematic layers in HTML report

 

Hi Jan

I'm using this code to display a map in a report. DHIS 2.25


DHIS.getMap({
 mapViews: [{
     rows: [{dimension: "ou","items": [{"id": "LEVEL-5"},{"id":
"qLQDVrnUKX3"}]}],
     labels: true,
     labelFontSize: "11px",
     labelFontStyle: "normal",
     layer: "boundary"},
   {
     layer: "facility",
     rows: [{dimension: "ou","items": [{"id": "LEVEL-5"},{id:
orgUnit.id}]}],
     organisationUnitGroupSet: {"id": "BmSB4vqoDfI"},
     labels: true,
     labelFontSize: "11px",
     labelFontStyle: "normal",
     labelFontWeight: "bold",
     labelFontColor: "#000000",
     areaRadius: null,
     opacity: 1
   }
 ],
 url: base,
 el: "distOfWardsMap"
});

but the borders do not show , I've also tried with a thematic layer.T he
points of the facilityshow but not the boundries or thematic layers. What
am I Missing here?


Regards
Pooben

-- 


*This message and any attachments are subject to a disclaimer published at 
http://www.hisp.org/policies.html#comms_disclaimer 
<http://www.hisp.org/policies.html#comms_disclaimer>.  Please read the 
disclaimer before opening any attachment or taking any other action in 
terms of this electronic transmission.  If you cannot access the 
disclaimer, kindly send an email to disclaimer@xxxxxxxx 
<disclaimer@xxxxxxxx> and a copy will be provided to you. By replying to 
this e-mail or opening any attachment you agree to be bound by the 
provisions of the disclaimer.*

Follow ups