Maps4HTML / Web-Map-Custom-Element

A custom <mapml-viewer> and <layer-> element suite
https://maps4html.org/Web-Map-Custom-Element/
Other
54 stars 15 forks source link

map-feature will throw if map-geometry doesn't contain a descendant map-(shape) #925

Closed prushforth closed 3 months ago

prushforth commented 4 months ago

To reproduce, paste the feature into a map:

<map-feature id="tasmania_cities.1" class="tasmania_cities">
  <map-geometry>
    <map-geometrycollection>
      <point>
        <map-coordinates>147.29100045 -42.85100182</map-coordinates>
      </point>
    </map-geometrycollection>
  </map-geometry>
</map-feature>

See: https://github.com/geosolutions-it/geoserver/pull/363#issuecomment-1986840207