<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Hello,</div>
<div> </div>
<div>I have three layer sections in my mapfile and want to query their informations via the popup service and identify service. <span id="result_box" lang="en"><span class="hps">When I click on</span> <span class="hps">a feature in the map </span><span class="hps">the information</span> is displayed <span class="hps">on three occasions</span><span>,</span> <span class="hps">both</span> <span class="hps">in the pop</span><span>-up window</span> <span class="hps">as well as</span> <span class="hps">the</span> <span class="hps">identification service</span></span>. I have set the templates for each layer individually:</div>
<div> </div>
<div>MAP</div>
<div> ...</div>
<div> LAYER #first layer</div>
<div> NAME 'campingplatz'</div>
<div> ...</div>
<div> METADATA<br/>
WMS_TITLE "campingplatz"<br/>
#identify<br/>
'identify_record' 'templates_unterkunft/identify.html'<br/>
END<br/>
PROJECTION<br/>
'init=epsg:4326' #projection of the layer<br/>
END<br/>
CLASS<br/>
NAME unsercampingplatz<br/>
EXPRESSION ("[kategorie]" = 'Campingplatz')<br/>
STYLE<br/>
SYMBOL "../img/haus-11-kl.png"<br/>
SIZE 20<br/>
END<br/>
END<br/>
TEMPLATE "unterkunft_popup.html" # this is required for WMS popups<br/>
TOLERANCE 5000<br/>
TOLERANCEUNITS METERS</div>
<div> END #end of first layer</div>
<div> LAYER #second layer</div>
<div> NAME 'ferienhaus'</div>
<div> ...</div>
<div> METADATA<br/>
WMS_TITLE "ferienhaus"<br/>
#identify<br/>
'identify_record' 'templates_unterkunft/identify.html'<br/>
END<br/>
PROJECTION<br/>
'init=epsg:4326' #projection of the layer<br/>
END<br/>
CLASS<br/>
NAME unserferienhaus<br/>
EXPRESSION ("[kategorie]" = 'Ferienhaus')<br/>
STYLE<br/>
SYMBOL "../img/haus-10-kl.png"<br/>
SIZE 20<br/>
END<br/>
END<br/>
TEMPLATE "unterkunft_popup.html" # this is required for WMS popups<br/>
TOLERANCE 5000<br/>
TOLERANCEUNITS METERS</div>
<div> END #end of second layer</div>
<div> LAYER #third layer</div>
<div> NAME 'hotel'</div>
<div> ...</div>
<div> METADATA<br/>
WMS_TITLE "hotel"<br/>
#identify<br/>
'identify_record' 'templates_unterkunft/identify.html'<br/>
END<br/>
PROJECTION<br/>
'init=epsg:4326' #projection of the layer<br/>
END<br/>
CLASS<br/>
NAME unserhotel<br/>
EXPRESSION ("[kategorie]" = 'Hotel')<br/>
STYLE<br/>
SYMBOL "../img/haus-1-kl.png"<br/>
SIZE 20<br/>
END<br/>
END<br/>
TEMPLATE "unterkunft_popup.html" # this is required for WMS popups<br/>
TOLERANCE 5000<br/>
TOLERANCEUNITS METERS</div>
<div> END #end of third layer</div>
<div>END #end of map</div>
<div> </div>
<div>What is the reason for this multiple rendering, which<span id="result_box" lang="en"> <span class="hps">is obviously in</span> <span class="hps">connection with the</span> <span class="hps">number</span> <span class="hps">of the</span> <span class="hps">layer</span><span>?</span></span></div>
<div> </div>
<div>Thank you in advance for your help or ideas!</div>
<div> </div>
<div>Greetings, Geograefin</div></div></body></html>