p.mapper 3.1 beta-4
Upgrade Information for p.mapper versions
Upgrade 3.0 -> 3.1
PHP version
p.mapper 3.1 only runs fully on PHP 5.x with XML support because the attribute search requires PHP5 XML functions.
Attribute search
Define attribute search via /config/…/search.xml
<searchlist version="1.0">
<searchitem name="cities" description="City">
<layer type="shape" name="cities">
<field type="s" name="CITY_NAME" description="City" wildcard="0" />
</layer>
</searchitem>
</searchlist>
Create new <searchitem> for every layer you want to search.Parameters:
<searchitem> name: unique identifier, typically the same as layer name description: name visible in GUI
<layer> type: data source type, "shape" or "postgis" name: layer name in map file
<field>
type: "s" for string field, "n" for numeric field
name: field name in dataset
description: name visible in GUI
wildcard: "0": search always uses a 'non-exact' pattern matching;
"1": requires that the user explicitly adds "*" for wildcards to his search string
config.ini
new config tags (if not set, default values are taken):
- pm_search_configfile
- autoIdentifyGroups
- catInfoLink/grpInfoLink
- catWithCheckbox
- debugLevel
- See the p.mapper manual for details.
php_config.php
Additionally to toolbars, now also DHTML menus are supported. The definition is done via the menu1 array. Multiple menus are possible. Menus are created in the map.phtml via the function call writemenu($menu1, “menu1″, “Tools”)
js_config.php
various JS specific settings are added. See the file itself and the descriptions of the parameters there.
Posted in pmapper. 5 comments
Previous Post: Install pmapper   Next Post: Pmapper di Debian & Ubuntu







Any ideas how you pass varaible to the map file
Many Thanks
Mas Bayu…

Saya baru menggunakan P.mapper 3.1 beta-4.
kalau saya ingin menampilkan sebuah peta, bagian mana saja yang mesti disesuaikan?
saya sudah coba merubah setting path, nama layer dan data di file config/default/*.map. tapi petanya ko ga kelihatan ya? apa ada setting yg lain yang mesti disesuaikan.
Mohon penerangan dan balasan emailnya…
Untuk Mas Fuad bisa liat http://svn.pmapper.net/trac/wiki/DocQuickinstall
ms bayu may tanya neh bagaimana fungsi memanggil peta.map lewat php ya???
mohon penjelasan dan balasan emailnya…mksh
pake php mapscript,
ada tambahan module php yang dinamakan mapscript, module tersebut yang membuat ketersediaan fungsi MapScript MapServer.
http://mapserver.org/mapscript/php/index.html