[Cartoweb-users] problems refreshing map with hilight

gasdia73 gasdia73 at gmail.com
Thu Apr 10 05:05:58 EDT 2008



modifying the MapResultCache.php as you suggested didnt change the
situation, so 
i must presume its not a cache problem... 
but i have no idea about what else could it be.... 


Oliver Christen wrote:
> 
> mmm,
> im wondering if noMapInfoCache is really taken into account.
> 
> to be certain it's not a cache problem , you can temporarily force the map 
> to be generated all the time if you modify a bit the file 
> /server/MapResultCache.php in function getMap
> 
> just put return $this->getMapResultFromServer($mapRequest); right after 
> $mapResultFile = $this->getMapResultFile($mapRequest);
> 
> if that solve the problem, then you should investigate why the 
> noMapInfoCache is not used, otherwise ... well, I presume some deeper 
> debuging is needed.
> 
> regards
> Oliver
> 
>>
>>
>> Hi Oliver, it doesn't seem to be a matter of policy, since i tried the
>> XOR
>> too without luck
>> .. to further explain my configuration i am in custom profile in client 
>> and
>> server, with
>>
>> noMapInfoCache = true
>>
>> in both client.ini and server.ini
>>
>> i'm also attaching my cartoclient.log in case anyone finds out anything
>> strange...
>> in this file i correctly hilight 'tombe' layer, and nothing more, but
>> 'settori' layer gets hilighted
>> as well, untill i pan or zoom, then the correct image displays...
>>
>> http://www.nabble.com/file/p16604525/cartoclient.log cartoclient.log
>>
>> thank you for your patience
>>
>>
>> Oliver Christen wrote:
>>>
>>> mmm, as long as you do your modification before the map drawing, the map
>>> should be generated accordingly to your modification.
>>>
>>> it could be eventually a problem with the policy, did you try with the
>>> default POLICY_XOR policy to see if the map is correctly redrawn ?
>>>
>>> regards
>>> Oliver
>>>
>>>>
>>>> hi, i can't find a way to redraw the image map in this situation :
>>>>
>>>> i extended the clientquery plugin, then in method
>>>> handleStandardParameters
>>>> i
>>>> want
>>>> to turn off hilight all layers that have picked except for the one on
>>>> top,
>>>> so i change some hilight properties of
>>>>
>>>> $this->queryState->querySelections
>>>>
>>>> the problem is that i cannot see the changes immediately after the
>>>> pick,
>>>> but
>>>> they
>>>> appear after the next map refresh, for instance after a pan or zoom
>>>>
>>>> any help is really appreciated
>>>>
>>>> my query.ini is :
>>>>
>>>> weightQueryByPoint = 40
>>>>
>>>> ;allows client to ask for attributes
>>>> returnAttributesActive = true
>>>>
>>>> ;activates persistence of queries
>>>> persistentQueries = true
>>>>
>>>> defaultHilight = true
>>>>
>>>> ;displays layers selection form
>>>> displayExtendedSelection = false
>>>>
>>>> defaultPolicy = POLICY_REPLACE
>>>>
>>>>
>>>> -- 
>>>> View this message in context:
>>>> http://www.nabble.com/problems-refreshing-map-with-hilight-tp16568636p16568636.html
>>>> Sent from the cartoweb-users mailing list archive at Nabble.com.
>>>>
>>>> _______________________________________________
>>>> Cartoweb-users mailing list
>>>> Cartoweb-users at lists.maptools.org
>>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>>
>>>
>>> _______________________________________________
>>> Cartoweb-users mailing list
>>> Cartoweb-users at lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>>>
>>>
>>
>> -- 
>> View this message in context: 
>> http://www.nabble.com/problems-refreshing-map-with-hilight-tp16568636p16604525.html
>> Sent from the cartoweb-users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Cartoweb-users mailing list
>> Cartoweb-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>> 
> 
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 
> 

-- 
View this message in context: http://www.nabble.com/problems-refreshing-map-with-hilight-tp16568636p16605713.html
Sent from the cartoweb-users mailing list archive at Nabble.com.



More information about the Cartoweb-users mailing list