Maps4HTML / MapML-Specification

Map Markup Language is hypertext for Web maps, like HTML is hypertext for Web pages https://maps4html.org/MapML-Specification/spec/
Other
55 stars 12 forks source link

Why is MapML inline in HTML important? #210

Closed Malvoz closed 2 years ago

Malvoz commented 3 years ago

I haven't seen the arguments made for MapML inline in HTML. It would be nice to discuss pros and cons, and why it is important.

I think inline MapML increases the overall complexity of MapML:

  1. Browser implementation complexity? Maybe @zcorpan can help answer this.
  2. Polyfill code complexity/size
  3. Specification complexity:

I think 2. and 3. aren't great arguments against MapML inline in HTML, but perhaps worth taking into consideration.

prushforth commented 2 years ago

I think inline mapml is important because I think security considerations will preclude getting events and DOM access to remote mapml content, tbd. And a DOM API is essential, as this the foundation of programmability. I think the need for inline MapML is or should be covered by requirements relating to Client-Side Mapping APIs