Method and device for moving map pin in iOS

A technology of pins and maps, applied in the directions of maps/plans/charts, instruments, software design, etc., can solve the problems of uneven movement of map pins, slow running speed, and complicated implementation.

Inactive Publication Date: 2018-06-19
武汉斑马快跑科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to overcome the problems of uneven movement of the above-mentioned map pins, complex implementation, and slow running speed, or at least partially solve the above-mentioned problems, the present invention provides a method and device for moving map pins in iOS

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for moving map pin in iOS
  • Method and device for moving map pin in iOS
  • Method and device for moving map pin in iOS

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0038] In one embodiment of the present invention, a method for moving a map pin in iOS is provided, figure 1 It is a schematic diagram of the overall flow of the method for moving the map pin in iOS provided by the embodiment of the present invention, the method includes: S1, when the Layer animation of moving the target map pin last time is completed, place the target map pin in the map The current first coordinates and the first coordinates to be moved to are converted into the current second coordinates and the second coordinates to be moved to correspondingly of the target map pin on the page where the map is located, and the to-be-moved to The first coordinates are ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and device for moving a map pin in the iOS. The method includes the steps that S1, when a Layer animation of a target map pin which is moved last time is completed, a current first coordinate and each to-be-reached first coordinate of the target map pin in a map are correspondingly converted into a current second coordinate and each to-be-reached second coordinate of the target map pin respectively in a page where the map is located, wherein each to-be-reached first coordinate is obtained by a server at preset time intervals in the process of moving the target map pin last time; S2, according to the current second coordinate and each to-be-reach second coordinate, the Layer animation in UIKit is utilized to move the target map pin. Smooth sliding of the mappin is achieved easily, and the running speed is high.

Description

technical field [0001] The invention belongs to the field of software development, and more specifically relates to a method and device for moving map pins in iOS. Background technique [0002] With the development of positioning technology, currently commonly used positioning methods include GPS positioning, base station positioning, Bluetooth positioning and acoustic wave positioning. Positioning technology is widely used in mobile electronic devices such as vehicle terminals, mobile phones, and smart bracelets. [0003] The map pin shown on the map representing the device's physical location moves from one coordinate point to another at regular intervals as the device's physical location changes. In the prior art, it is common to re-add a map pin or directly move the map pin from one coordinate point to another. These methods give the visual movement effect of jumping from one position to another, and the user experience is poor. Although some techniques have the effect...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/20G09B29/00
CPCG06F8/20G09B29/005
Inventor 李佳
Owner 武汉斑马快跑科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products