Skip to content

Commit

Permalink
Add missing max/minScaleDenom to xld/t files
Browse files Browse the repository at this point in the history
  • Loading branch information
seuros authored and tbonfort committed Feb 11, 2015
1 parent e17e69b commit f79aacc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xmlmapfile/mapfile.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@
</xs:simpleType>
</xs:union>
</xs:simpleType>
<xs:element name="maxScaleDenom" type="xs:double" minOccurs="0"/>
<xs:element name="minScaleDenom" type="xs:double" minOccurs="0"/>
</xs:element>
<xs:element name="Style" type="ms:Style" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="text" type="xs:string" minOccurs="0"/>
Expand Down
8 changes: 8 additions & 0 deletions xmlmapfile/mapfile.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,14 @@
<xsl:with-param name="node" select="'ms:wrap'"/>
<xsl:with-param name="quote" select="1"/>
</xsl:call-template>
<xsl:call-template name="print">
<xsl:with-param name="indent" select="$indent"/>
<xsl:with-param name="node" select="'ms:maxScaleDenom'"/>
</xsl:call-template>
<xsl:call-template name="print">
<xsl:with-param name="indent" select="$indent"/>
<xsl:with-param name="node" select="'ms:minScaleDenom'"/>
</xsl:call-template>
<xsl:call-template name="print">
<xsl:with-param name="text" select="'END'"/>
<xsl:with-param name="indent" select="$indent - 1"/>
Expand Down

0 comments on commit f79aacc

Please sign in to comment.