[mapserver-users] my mapscript generates blank map

Ahmet Temiz ahmettemiz88 at gmail.com
Tue Nov 10 07:30:53 PST 2015


with Following code, resulting map looks blank.

classObj c1 = new classObj(jeo_layer);
                            styleObj new_style = new styleObj(c1);
                            colorObj color = new colorObj(200,0,0,20);
                            new_style.setColor(color);
                            c1.setName("Eosen");
                            c1.setExpression(" \"yas=Eosen\" ");
                            c1.insertStyle(new_style, 0);
                            jeo_layer.insertClass(c1, 0);

jeo_layer.setStatus(1);
        imageObj img = map3857.draw();
        byte[] bytes=img.getBytes();
---

can you tell me why ?

regards


-- 
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Bilgi İşlem  Dairesi Başkanlığı-CBS Grubu


________________________

Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20151110/9c036882/attachment.html>


More information about the mapserver-users mailing list