If you have overloaded the graphics rendering of the "Maps" service, be careful when retrieving the "geocode" type and marker type values.
The XML entry point has been modified.
Geocode data are now expressed as :
<point latitude="X" longitude="Y"/>
<point latitude="X" longitude="Y"/>
<point latitude="X" longitude="Y"/>
The marker type is now saxed in the form:
<type value="marker">Marqueur</type> <type value="polygon">Polygone</type>
<type value="marker">Marqueur</type> <type value="polygon">Polygone</type>
<type value="marker">Marqueur</type> <type value="polygon">Polygone</type>
For example, to retrieve "marker" points of interest, we'd write:
<xsl:for-each select="pointsOfInterest/entry[type/@value ='marker']"> { lat: <xsl:value-of select="point/@latitude"/>, lng: <xsl:value-of select="point/@longitude"/>, title: '<xsl:value-of select="ametys:escapeJS(title)"/>', description :'<xsl:value-of select="ametys:escapeJS(description)"/>', icon: '<xsl:value-of select="icon"/>', gtype: '<xsl:value-of select="type"/>' } <xsl:if test="position() != last()">,</xsl:if> </xsl:for-each>
<xsl:for-each select="pointsOfInterest/entry[type/@value ='marker']"> { lat: <xsl:value-of select="point/@latitude"/>, lng: <xsl:value-of select="point/@longitude"/>, title: '<xsl:value-of select="ametys:escapeJS(title)"/>', description :'<xsl:value-of select="ametys:escapeJS(description)"/>', icon: '<xsl:value-of select="icon"/>', gtype: '<xsl:value-of select="type"/>' } <xsl:if test="position() != last()">,</xsl:if> </xsl:for-each>
<xsl:for-each select="pointsOfInterest/entry[type/@value ='marker']"> { lat: <xsl:value-of select="point/@latitude"/>, lng: <xsl:value-of select="point/@longitude"/>, title: '<xsl:value-of select="ametys:escapeJS(title)"/>', description :'<xsl:value-of select="ametys:escapeJS(description)"/>', icon: '<xsl:value-of select="icon"/>', gtype: '<xsl:value-of select="type"/>' } <xsl:if test="position() != last()">,</xsl:if> </xsl:for-each>