Control HTML?

Hi,

I would like to know if I can add HTML to your own MapControl. From the SDK, all that I know is you can only add text...



Answer this question

Control HTML?

  • WXS123

    Yep. The AddControl method expects HTML. In the example on the interactive SDK, we are creating a DIV element, making the inner text of it "my control", and then adding that DIV to the map. You could add whatever HTML you want within that DIV, too: tables, lists, images, etc.
  • Control HTML?