fluttercommunity / fluttercommunity/arcgis_map_sdk
In web, addgraphic is not working
- Dominant language
- JavaScript
- Stars
- 16
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
```
ArcgisMap(
apiKey: "",
initialCenter: const LatLng(51.16, 10.45),
zoom: 1,
mapStyle: MapStyle.twoD,
basemap: BaseMap.satellite,
onMapCreated: (controller) async {
const pinLayerId = 'pins';
await controller.addGraphic(
layerId: pinLayerId,
graphic: PointGraphic(
latitude: 51.091062,
longitude: 6.880812,
attributes: Attributes({
'id': 'phntm',
'name': 'PHNTM GmbH',
'family': 'Office',
}),
symbol: const PictureMarkerSymbol(
webUri:
"https://github.com/fluttercommunity/arcgis_map/assets/1096485/94178dba-5bb8-4f1e-a160-31bfe4c93d17",
mobileUri:
"https://github.com/fluttercommunity/arcgis_map/assets/1096485/94178dba-5bb8-4f1e-a160-31bfe4c93d17",
width: 314 / 2,
height: 120 / 2,
),
),
);
// for(int x=0; x
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.