Could the components size be more consistent? It looks a bit goofy when you have, for example, the zoom, then the sketch, then home components lined up. Thanks.
@MatthewDriscoll good catch! We fixed that. The deprecated scale property for the Sketch component:https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#scale
The preferred property is now visualScale: https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-sketch/#visualScale
@Noah-Sager In 5.0 setting the scale="s" for the sketch component does not work now. It is always bigger then the others. When you have time please look into it.
Thanks for the update @MatthewDriscoll. I think that makes sense. This is still an area of active development for us, so I think you will continue to see better behavior and styling with our components.
I'll close this idea, but we're always open to feedback.
@Noah-Sager ,I did figure out the scale(scale="s"). Once I set them all to the same it was all good. I know that, if you don't set the scale properties, the sketch component default width is noticeably wider then the compass, home, and zoom components. It just looks goofy. It would be nice for them all to have the same default styles when possible. I was fighting the shadow dom before I saw the scale property. Feel free to mark this as already offered.
Using Version 4.34.
No scale property added:
If they all have the scale="s" property.
Hi @MatthewDriscoll, thanks for posting your idea here. I think this is worth investigating, but it would be helpful if we could get more specifics. Could you share some images of what you're seeing now, and what you would hope/expect to see? Also if others like this idea, it would be great to collect more cases like that (images of what you're seeing now, and what you would hope/expect to see).
Sign in to post, follow content, and more. New here? Register for free.