Select to view content in your preferred language

logo on exempel ArcGIS API for JavaScript 4.4 on error

884
2
Jump to solution
08-18-2017 07:26 AM
MikeSchudel
Occasional Contributor

Documentation details:

Page title: Using the view's UI | ArcGIS API for JavaScript 4.4

Page URL: https://developers.arcgis.com/javascript/latest/sample-code/simple-ui/index.html

 

The same Code create on error by me HTML Site.

For the Logo Code must have :

 

var logo = domConstruct.create("img", {

        src: "https://placeholdit.imgix.net/~text?bg=000&txtclr=e8117f&txtsize=48&txt=logo&w=100&h=80",

        id: "logo",

        title: "logo"

      });

view.ui.add(logo, "bottom-right");

 

Ist this Right?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Mike,

  In your site did you add the "dojo/dom-construct", domConstruct require in your require array and require vars?

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

Mike,

  In your site did you add the "dojo/dom-construct", domConstruct require in your require array and require vars?

MikeSchudel
Occasional Contributor

Hi Robert
Sheer code you can not see the error...
Thx for the Help, and nice Weekend!
Mike

0 Kudos