set("width",$newWidth); $map1->set("height",$newHeight); $creditsLayer = $map1->getLayerByName("credits"); $creditsLayer->set("status",MS_OFF); // all of these maps will reflect the changes made above $map2=$map1->clone(); $map3=$map1->clone(); $map4=$map1->clone(); $map5=$map1->clone(); // $map1->setProjection("proj=latlong",MS_TRUE); $map1->setProjection("+proj=latlong +ellps=WGS84",MS_TRUE); $map1->setExtent(-180, 20, -50, 80); $image1=$map1->draw(); // $map2->setProjection("+proj=stere+lat_0=38+lon_0=-100",MS_TRUE); $map2->setProjection("+proj=stere +ellps=WGS84 +lat_0=38+lon_0=-100",MS_TRUE); $image2=$map2->draw(); // $map3->setProjection("+proj=merc+lat_0=0+lon_0=-110+y_0=-5000000",MS_FALSE); $map3->setProjection("+proj=merc +ellps=WGS84 +lat_0=0+lon_0=-110+y_0=-5000000",MS_FALSE); $image3=$map3->draw(); // $map4->setProjection("+proj=aeqd+lat_0=38+lon_0=-100",MS_TRUE); $map4->setProjection("+proj=aeqd +ellps=WGS84 +lat_0=38+lon_0=-100",MS_TRUE); $image4=$map4->draw(); $image5=$map5->draw(); $image_url1=$image1->saveWebImage(); $image_url2=$image2->saveWebImage(); $image_url3=$image3->saveWebImage(); $image_url4=$image4->saveWebImage(); $image_url5=$image5->saveWebImage(); ?>
© Copyright Digigroup s.r.l., 2005. All rights reserved.
The DigiMap documentation team cannot answer technical support questions, but welcomes your suggestions and comments about this Readme documentation. You can quickly and directly send e-mail feedback using the link below. Please send your feedback in English.
To submit written feedback about this document, click here: Submit feedback.