[Mapserver-users] draw a shape--use the MAXSCALE and label stuff defined in mapfile
Ed Martin
edman007x@mac.com
Sat, 17 Jan 2004 20:30:52 -0500
i'm drawing the individual shapes instead of just the layer to control
the shapes that get drawn but it isn't adding the label and it isn't
obeying the maxscale defined in the map file, how do i make it add the
label and have the maxscale, i'm using php/mapscript and here is a part
of what i have
$cities_layer = $map->getLayerByName('Cities');
//open the layer
$cities_layer->open();
$city_shape = $cities_layer->getShape(-1, $city_id);
$cities_layer->close();
$city_shape->draw($map,$cities_layer,$image);
$city_shape->free();
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users