All Projects → cysgit → Ios_movingannotation_demo

cysgit / Ios_movingannotation_demo

Licence: mit

Projects that are alternatives of or similar to Ios movingannotation demo

Eternal
A C++14 compile-time/constexpr map and hash map with minimal binary footprint
Stars: ✭ 93 (-23.77%)
Mutual labels:  map
Complete Google Map Api Tutorial
Learn How to use Google Map API for Android from Basic to Advance with complete examples.
Stars: ✭ 104 (-14.75%)
Mutual labels:  map
Geojson2svg
Converts geojson to svg string given svg viewport size and maps extent.
Stars: ✭ 117 (-4.1%)
Mutual labels:  map
Nova Map Marker Field
Provides an visual interface for editing latitude and longitude coordinates.
Stars: ✭ 96 (-21.31%)
Mutual labels:  map
Hprose Delphi
Hprose is a cross-language RPC. This project is Hprose 2.0 for Delphi and FreePascal
Stars: ✭ 100 (-18.03%)
Mutual labels:  map
Stencil Store
Store is a lightweight shared state library by the StencilJS core team. Implements a simple key/value map that efficiently re-renders components when necessary.
Stars: ✭ 107 (-12.3%)
Mutual labels:  map
Imtools
Fast and memory-efficient immutable collections and helper data structures
Stars: ✭ 85 (-30.33%)
Mutual labels:  map
Wechat ayibang
微信小程序仿阿姨帮
Stars: ✭ 121 (-0.82%)
Mutual labels:  map
Flutter map marker cluster
Provides beautiful animated marker clustering functionality for flutter_map. Inspired by Leaflet.markercluster
Stars: ✭ 101 (-17.21%)
Mutual labels:  map
Geo Data Viewer
🗺️ Geo Data Viewer w/0 Py 🐍 || pyWidgets ⚙️ || pandas 🐼 || @reactjs ⚛️ required to gen. some snazzy maps 🗺️ with keplerGL ...
Stars: ✭ 115 (-5.74%)
Mutual labels:  map
Linemap
♒️ Create maps made of lines
Stars: ✭ 96 (-21.31%)
Mutual labels:  map
Rki Covid Api
🦠🇩🇪📈 An API for the spread of covid-19 in Germany. Data from Robert-Koch-Institut.
Stars: ✭ 98 (-19.67%)
Mutual labels:  map
Terrain Classic
World-wide CartoCSS port of Stamen's classic terrain style
Stars: ✭ 110 (-9.84%)
Mutual labels:  map
Chartjs Chart Geo
Chart.js Choropleth and Bubble Maps
Stars: ✭ 94 (-22.95%)
Mutual labels:  map
Tinycolormap
A header-only, single-file library for colormaps written in C++11
Stars: ✭ 119 (-2.46%)
Mutual labels:  map
Routegen
Define your API and SPA routes in one place. Use them anywhere. Only 1.3kb.
Stars: ✭ 86 (-29.51%)
Mutual labels:  map
Gods
GoDS (Go Data Structures). Containers (Sets, Lists, Stacks, Maps, Trees), Sets (HashSet, TreeSet, LinkedHashSet), Lists (ArrayList, SinglyLinkedList, DoublyLinkedList), Stacks (LinkedListStack, ArrayStack), Maps (HashMap, TreeMap, HashBidiMap, TreeBidiMap, LinkedHashMap), Trees (RedBlackTree, AVLTree, BTree, BinaryHeap), Comparators, Iterators, …
Stars: ✭ 10,883 (+8820.49%)
Mutual labels:  map
Fungen
Replace boilerplate code with functional patterns using 'go generate'
Stars: ✭ 122 (+0%)
Mutual labels:  map
React Mapbox Gl
A React binding of mapbox-gl-js
Stars: ✭ 1,683 (+1279.51%)
Mutual labels:  map
Cyclosm Cartocss Style
Cycle oriented CartoCSS style.
Stars: ✭ 109 (-10.66%)
Mutual labels:  map

iOS_MovingAnnotation_Demo

annotation移动及转向动画 -查看Demo请打开test.xcworkspace文件

使用教程

  • 添加MovingAnnotationSource文件夹内代码
  • 使用接口
/*!
 @brief 添加动画
 @param points 轨迹点串,每个轨迹点为TracingPoint类型
 @param duration 动画时长,包括从上一个动画的终止点过渡到新增动画起始点的时间
 */
- (void)addTrackingAnimationForPoints:(NSArray *)points duration:(CFTimeInterval)duration;

其中,轨迹点类型为:

@interface TracingPoint : NSObject
/*!
@brief 轨迹经纬度
*/
@property (nonatomic) CLLocationCoordinate2D coordinate;
/*!
@brief 方向,有效范围0~359.9度
*/
@property (nonatomic) CLLocationDirection course;
@end

注:多次调用添加动画接口,会按调用顺序依次执行添加的动画。 详见工程test文件夹。

截图效果

result

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].