Intro to the ArcGIS Maps SDK for Flutter Beta

Поделиться
HTML-код
  • Опубликовано: 7 сен 2024

Комментарии • 2

  • @ailtondevesse4738
    @ailtondevesse4738 Месяц назад

    Interesting demo,
    I Noticed that you were able to set markers that draw the building occupied are, I was hoping to see how to implement it.

    • @EsriDevs
      @EsriDevs  Месяц назад

      Hi @ailtondevesse4738,
      The code used in the sample can be found here: github.com/Esri/arcgis-maps-sdk-flutter-samples/blob/v.next/lib/samples/identify_layer_features/identify_layer_features_sample.dart#L88-L91.
      The building icons are configured server-side on the feature service -- there is no code on the client side necessary to draw the icons. The client simply needs to load the URL for the feature service.
      On the server side, this feature layer is configured with a "Unique Value Renderer" with different Symbols for each value: sampleserver6.arcgisonline.com/arcgis/rest/services/DamageAssessment/FeatureServer/0.