animated_marker
स्थिति अपडेट के बीच Google मानचित्र पर चिह्नों को सुचारू रूप से एनीमेट करें।
AnimatedMarker विंडजेट एक डार्ट क्लास है जो गूगल मैप पर मार्कर के चलने को एनीमेट करता है।
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
AnimatedMarker smoothly animates google_maps_flutter markers whenever their
position or rotation changes.
staticMarkers.duration, curve, and fps.GoogleMap via a simple builder.dependencies:
animated_marker: ^0.2.0
AnimatedMarker(
staticMarkers: staticMarkers,
animatedMarkers: animatedMarkers,
duration: const Duration(seconds: 3),
fps: 30,
curve: Curves.easeOut,
builder: (context, markers) {
return GoogleMap(
initialCameraPosition: const CameraPosition(
target: LatLng(37.77483, -122.41942),
zoom: 13,
),
markers: markers,
);
},
);
Use this widget when your marker set is driven by live updates (vehicles, delivery tracking, moving assets, etc.) and you want smooth transitions instead of marker jumps.
निर्भरता सूची 4 आइटम
{"sdk":"flutter"}^2.14.0^6.0.0{"sdk":"flutter"}उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗