Skip to content

Commit

Permalink
chore: add clear when animating
Browse files Browse the repository at this point in the history
  • Loading branch information
SkipperQ93 committed May 13, 2024
1 parent 9e7789c commit ecacbc4
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .run/pack.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="pack" type="js.build_tools.npm" nameIsGenerated="true">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="pack" />
<node-interpreter value="project" />
<package-manager value="npm" />
<envs />
<method v="2" />
</configuration>
</component>
12 changes: 12 additions & 0 deletions .run/release.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="release" type="js.build_tools.npm" nameIsGenerated="true">
<package-json value="$PROJECT_DIR$/package.json" />
<command value="run" />
<scripts>
<script value="release" />
</scripts>
<node-interpreter value="project" />
<envs />
<method v="2" />
</configuration>
</component>
4 changes: 4 additions & 0 deletions ios/UaReactNativeArcgisViewManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@ class UaReactNativeArcgisView : UIView, AGSGeoViewTouchDelegate {

onLog?(["key":"addPoints", "log":"\(pointsDict)"])

if (animate) {
graphicsLayers().graphicsLayer.graphics.removeAllObjects()
}

let avatarSize = CGFloat(50)

for point in pointsDict {
Expand Down

0 comments on commit ecacbc4

Please sign in to comment.