本文整理汇总了PHP中map::selectOverviewMapByApplication方法的典型用法代码示例。如果您正苦于以下问题:PHP map::selectOverviewMapByApplication方法的具体用法?PHP map::selectOverviewMapByApplication怎么用?PHP map::selectOverviewMapByApplication使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类map
的用法示例。
在下文中一共展示了map::selectOverviewMapByApplication方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: createFromApplication
public function createFromApplication($appId)
{
// get the map objects "overview" and "mapframe1"
$this->mainMap = map::selectMainMapByApplication($appId);
$this->overviewMap = map::selectOverviewMapByApplication($appId);
// a wWFS is basically just a vectorlayer, and a WFSconf is just a configured WFS,
// so it makes sense to attach the WFSCONFIDstring to to the mapobject
// this clearly needs a better solution though...
try {
$ev = new ElementVar($appId, "mapframe1", "wfsConfIdString");
$this->generalExtensionArray['WFSCONFIDSTRING'] = $ev->value;
} catch (Exception $E) {
// ... exceprtions are a terribkle way to do this, but I am not going to rewrite the ElementVar class
$this->generalExtensionArray['WFSCONFIDSTRING'] = "";
}
$this->createXml();
$this->saveAsFile();
}