[Chameleon] MapTips Problems

Julien-Samuel Lacroix jlacroix at mapgears.com
Wed Apr 5 10:13:42 EDT 2006


Hi,
Alessandro Oggioni wrote:
>>> 1. If MapTips widgets is activate, the NavTools button is not 
>>> possible use. I have the same problem on IE and on FireFox.
>>
>>
>> I have several application using the MapTips and not experiencing 
>> this. The way you describe it, it seems to be a JavaScript error. 
>> Firefox has a JavaScript Console that reports JS errors. Does it 
>> report anything?
>>
> The report of JavaScriptConsole is: "myMapTipsOveris not definited"
> thanks, Alessandro
> 

It's the source of your problem. Try removing the MouseOver and MouseOut 
parameters from your widget definition in your template. It will work again.

The MapTips widget use JavaScript to build the MapTips on the map. By 
default it provides you functions to show the information. You can 
redefine those functions and define your own by using the MouseOver and 
MouseOut widget parameters and adding the JavaScript functions to your 
template. If you check the sample templates in Chameleon, you will have 
an example of that.

Julien

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Chameleon mailing list