by following the descriptions of the docs

http://svn.pmapper.net/trac/wiki/DocManual#Zoomtopre-definedextent

   NAME: name of the field to search (upper case for shapefiles)
   1: field type, 0 = numerical, 1 = alphanumerical
   Italy: search string (case sensitive)
   0: highlight feature, 0 = no, 1 = yes
   1: set maximum map extent to feature extent, 0 = no, 1 = yes

armin

On 20/10/2008 10:17, Maarten G wrote:
> Hello,
> 
> In the demo it is not possible to zoom to whole europe again after the zoom
> to italy
> How can I make it possible to zoom out again?
> 
> Maarten
> 
> 
> 
> Armin Burger-2 wrote:
>> all you need is to modify the function 'getMapInitURL()' in
>> init/initmap.php to perform the query you need.
>>
>> For zooming to 2 countries you might be able to specify the full
>> Mapserver query string in the URL with the default setting, but you
>> need to know how to compose the query string, could be something like
>>    '[NAME]'='Italy' OR '[NAME]'='Spain'
>> one might need to encode some characters, never tried though.
>>
>> maybe you can do the same with 2 fields included, just read the MS
>> docs about expressions/filters and try it, and check the PHP (and or
>> JS) error log if it does not work.
>>
>> armin
>>
>> On Wed, Oct 8, 2008 at 10:42 AM, Leonardo L.O. Olivieri
>> <[EMAIL PROTECTED]> wrote:
>>> Thanks for answer:
>>>
>>> I have other questions:
>>>
>>> 1)  Is it possible to zoom on two countries ( ex Italy and Spain)?
>>> 2 ) is it possible to zoom on a country like Italy and a city like
>>> Madrid( in other terms to zoom on features of two different layers)?
>>>
>>> Thanks in advance
>>> Leonardo
>>>
>>>
>>>
>>> -----Messaggio originale-----
>>> Da: Ivan Mincik [mailto:[EMAIL PROTECTED]
>>> Inviato: venerdì 26 settembre 2008 12.12
>>> A: pmapper-users@lists.sourceforge.net
>>> Oggetto: Re: [pmapper-users] zoom to features from external application
>>>
>>> In the pmapper's Live Demos page there is an example "Extent from feature
>>> (countries, Italy), Italian".
>>> You can use  &zoomLayer=countries&[EMAIL PROTECTED]@[EMAIL PROTECTED]@1
>>>
>>> Ivan
>>>
>>> On Friday 26 September 2008 11:39, Leonardo L.O. Olivieri wrote:
>>>> Hello,
>>>>
>>>>
>>>>
>>>> I have a database with river information and I have an application web
>>>> used for browser database.
>>>>
>>>>
>>>>
>>>> >From this application i  want zoom and highlight one or more features(
>>>> using a shared key)
>>>>
>>>> on the shapefile (with river)  used in pmapper.
>>>>
>>>>
>>>>
>>>> Is it possible?
>>>>
>>>>
>>>>
>>>> Thanks in advance
>>>>
>>>> Leonardo
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>> challenge
>>>> Build the coolest Linux based applications with Moblin SDK & win great
>>>> prizes
>>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>>> world
>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>> _______________________________________________
>>>> pmapper-users mailing list
>>>> pmapper-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>>
>>> --
>>> Mgr. Ivan Minčík
>>> Gista s.r.o
>>> tel:. 0907 639 570
>>> email: [EMAIL PROTECTED]
>>> http://www.gista.sk, http://demo.gisplan.sk
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> pmapper-users mailing list
>>> pmapper-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>
>>>
>>> -------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> pmapper-users mailing list
>>> pmapper-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>
>>
> 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to