CN104199714A - Method for achieving mobile terminal GIS platform on android system and apple system - Google Patents

Method for achieving mobile terminal GIS platform on android system and apple system Download PDF

Info

Publication number
CN104199714A
CN104199714A CN201410422669.XA CN201410422669A CN104199714A CN 104199714 A CN104199714 A CN 104199714A CN 201410422669 A CN201410422669 A CN 201410422669A CN 104199714 A CN104199714 A CN 104199714A
Authority
CN
China
Prior art keywords
mobile terminal
webgis
platform
control part
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410422669.XA
Other languages
Chinese (zh)
Other versions
CN104199714B (en
Inventor
尹东彬
陈欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GUANGZHOU ROOKIE INFORMATION TECHNOLOGY Co Ltd
Original Assignee
GUANGZHOU ROOKIE INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGZHOU ROOKIE INFORMATION TECHNOLOGY Co Ltd filed Critical GUANGZHOU ROOKIE INFORMATION TECHNOLOGY Co Ltd
Priority to CN201410422669.XA priority Critical patent/CN104199714B/en
Publication of CN104199714A publication Critical patent/CN104199714A/en
Application granted granted Critical
Publication of CN104199714B publication Critical patent/CN104199714B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method for achieving a mobile terminal GIS platform on an android system and an apple system. The method is applied to the field of geographical information systems, and includes the main steps of firstly, writing or extracting a JavaScript and copying the JavaScript to a mobile terminal to be locally stored; secondly, establishing a mobile terminal program frame and embedding a browser in the program frame; thirdly, making the mobile terminal browser call the local JavaScript; fourthly, conducting interface encapsulation through gesture operation. By means of the method, a mature WebGIS can be converted into a mobile terminal GIS through extremely-small modification, the purpose of transplanting WebGIS professional software to the mobile terminal can be achieved to a great extent, and the requirement for supporting the mobile GIS system needed in modern mobile office work is met.

Description

In Android system and apple system, realize the method for mobile terminal GIS platform
Technical field
The present invention relates to area of geographic information, particularly a kind ofly in Android system and apple system, use WebGIS to realize the method for mobile terminal GIS platform.
Background technology
Mobile terminal GIS, it is the generalized information system taking mobile Internet as supporting, taking smart mobile phone or panel computer as terminal, in conjunction with the Big Dipper, GPS or base station as positioning means, it is another new hot technology after desktop GIS, WebGIS, running fix, mobile office etc. more and more become enterprise or individual's active demand, mobile GIS is exactly wherein most crucial part, and various location-based application are emerged in an endless stream.
The generalized information system major part of our application is to adopt WebGIS system at present, and a lot of ripe GIS platform and professional application on WebGIS, owing to being new technology, GIS platform on mobile terminal is very few, and functional interface contrast desktop GIS, WebGIS is few, can only meet simple map view, place name address search, location, the public demands such as navigation, cannot load special layer, cannot meet as land departments, the demand of specialty such as Mapping departments, and mobile office more and more becomes territory, the active demand of Surveying and Mapping Industry, as the geographical national conditions generaI investigation for the first time of the recent whole nation.And there are a lot of mature professional WebGIS application to want to be transplanted in mobile terminal, but need to change bottom GIS platform, due to Floor layer Technology difference, open development interface difference, it is huge that the portability function of platform is faced with workload, also has the problem that cannot transplant owing to lacking some function of development interface.
Summary of the invention
The present invention has overcome the deficiencies in the prior art, by after the WebGIS transformation of existing maturation, is transplanted in Android system or apple system, and a kind of method that realizes mobile terminal GIS platform is provided.
The present invention realizes above-mentioned purpose by the following technical solutions:
The method that realizes mobile terminal GIS platform in Android system and apple system, the method step comprises:
Step 1, first write or extract JavaScript script and copy the local storage of mobile terminal;
Step 2, build program of mobile terminal framework and browser is embedded to program frame again;
Step 3, then browser of mobile terminal is called to local JavaScript script;
Step 4, last gesture operation interface encapsulation.
The described method that realizes mobile terminal GIS platform in Android system and apple system to better implement the present invention, described step 1 comprises the following steps:
Step 1.1, according to the development interface of WebGIS platform S, write or extract the JavaScript script of existing WebGIS professional application, JavaScript script is saved as to the file A that suffix is " .html ";
Step 1.2, file A is copied in this locality storage B of mobile terminal.
The object of this step is that the JavaScript script of WebGIS professional application is released, to be applied in step 3.
The described method that realizes mobile terminal GIS platform in Android system and apple system to better implement the present invention, described step 2 comprises the following steps:
Step 2.1, in the application development environment of mobile terminal, create an application program C;
Step 2.2, in the main interface framework of application program C, add a browser control part D;
The parameter of step 2.3, configure browser control D, cancels webpage zoom function and zoom control that browser control part D carries.
The object of this step is to create program of mobile terminal framework, and this framework comprises browser control part, and this browser control part is for the JavaScript script of load step 1.
The described method that realizes mobile terminal GIS platform in Android system and apple system to better implement the present invention, described step 3 comprises the following steps:
Step 3.1, in the main interface initialization of mobile applications C function E, add browser control part D;
Step 3.2, call the code of file A, realize the function that shows map in browser control part D.
The description of this step be the JavaScript script in load step 1 in step 2 browser.
The described method that realizes mobile terminal GIS platform in Android system and apple system to better implement the present invention, described step 4 comprises the following steps:
Action Events F is hit in step 4.1, the list indication that makes application program C monitor browser control part D, the function of event F be encapsulated as in file A, call WebGIS platform S click map API;
Step 4.2, make that application program C monitors browser control part D singly refer to double click operation event G, the function of event G is encapsulated as and calls the double-click map API that calls WebGIS platform S in file A;
Step 4.3, make that application program C monitors browser control part D singly refer to slide event H, the function of event H is encapsulated as and calls the translation map API that calls WebGIS platform S in file A;
Step 4.4, make application program C monitor two slide event I that refer to of browser control part D, the function of event I is encapsulated as and calls the convergent-divergent map API that calls WebGIS platform S in file A.
The effect of this step is to make mobile terminal GIS platform support the distinctive gesture operation of mobile terminal.
The present invention compared with prior art, has the following advantages and beneficial effect:
(1) this method is slightly transformed the WebGIS of existing maturation, is transplanted in Android system or apple system, possesses all functions of original WebGIS, and all development interfaces are constant, reduces development amount.
(2) this method need to not build the GIS platform of mobile edition from bottom, be easy to just the WebGIS that has originally done specialized function exploitation to be transplanted in panel computer or smart mobile phone, do not need to change GIS platform, evade and change the risk that the huge workload brought of GIS and some function cannot realize.
(3) utilize WebGIS can read the characteristic of browser rs cache, realize off-line browsing map by controlling Android/apple system browser rs cache.
Brief description of the drawings
Fig. 1 is the process flow diagram of the inventive method.
Embodiment
Below by embodiment, the invention will be further described, so that advantages and features of the invention are easier to be understood, but protection scope of the present invention is not limited to these embodiment.
Embodiment
The method that realizes mobile terminal GIS platform in Android system and apple system of the present invention, shown in Fig. 1, the method comprises the following steps:
(1) first according to the development interface of WebGIS platform S, write or extract the JavaScript script of existing WebGIS professional application, JavaScript script is saved as to the file A that suffix is " .html ", and copy in this locality storage B of mobile terminal.
(2) in mobile applications development environment, create an application program C again, in the main interface framework of program C, add a browser control part D, the parameter of configure browser control D, cancels webpage convergent-divergent and zoom control that browser control part D carries.
(3) then in the main interface initialization of mobile applications C function E, add the code of the local JavaScript script file A in this locality storage B that browser control part D invocation step (1) is kept at mobile terminal, realize the function that shows map in browser control part.
(4) the list indication that finally makes application program C monitor browser control part D hits Action Events F, singly refers to double click operation event G, singly refers to slide event H, two finger slide event I, the function of event F be encapsulated as call in JavaScript script file A, call WebGIS platform S click map API; The function of event G is encapsulated as and calls the double-click map API that calls WebGIS platform S in JavaScript script file A; The function of event H is encapsulated as and calls the translation map API that calls WebGIS platform S in JavaScript script file A; The function of event I is encapsulated as and calls the convergent-divergent map API that calls WebGIS platform S in JavaScript script file A.

Claims (5)

1. the method that realizes mobile terminal GIS platform in Android system and apple system, is characterized in that: the method step comprises:
Step 1, first write or extract JavaScript script and copy the local storage of mobile terminal;
Step 2, build program of mobile terminal framework and browser is embedded to program frame again;
Step 3, then browser of mobile terminal is called to local JavaScript script;
Step 4, last gesture operation interface encapsulation.
2. the method that realizes mobile terminal GIS platform in Android system and apple system according to claim 1, is characterized in that: described step 1 comprises the following steps:
Step 1.1, according to the development interface of WebGIS platform S, write or extract the JavaScript script of existing WebGIS professional application, JavaScript script is saved as to the file A that suffix is " .html ";
Step 1.2, file A is copied in this locality storage B of mobile terminal.
3. the method that realizes mobile terminal GIS platform in Android system and apple system according to claim 2, is characterized in that: described step 2 comprises the following steps:
Step 2.1, in the application development environment of mobile terminal, create an application program C;
Step 2.2, in the main interface framework of application program C, add a browser control part D;
The parameter of step 2.3, configure browser control D, cancels webpage zoom function and zoom control that browser control part D carries.
4. the method that realizes mobile terminal GIS platform in Android system and apple system according to claim 3, is characterized in that: described step 3 comprises the following steps:
Step 3.1, in the main interface initialization of application program C function E, add browser control part D;
Step 3.2, call the code of file A, realize the function that shows map in browser control part D.
5. the method that realizes mobile terminal GIS platform in Android system and apple system according to claim 4, is characterized in that: described step 4 comprises the following steps:
Action Events F is hit in step 4.1, the list indication that makes application program C monitor browser control part D, the function of event F be encapsulated as in file A, call WebGIS platform S click map API;
Step 4.2, make that application program C monitors browser control part D singly refer to double click operation event G, the function of event G is encapsulated as and calls the double-click map API that calls WebGIS platform S in file A;
Step 4.3, make that application program C monitors browser control part D singly refer to slide event H, the function of event H is encapsulated as and calls the translation map API that calls WebGIS platform S in file A;
Step 4.4, make application program C monitor two slide event I that refer to of browser control part D, the function of event I is encapsulated as and calls the convergent-divergent map API that calls WebGIS platform S in file A.
CN201410422669.XA 2014-08-25 2014-08-25 The method that mobile terminal GIS platform is realized on Android system and apple system Expired - Fee Related CN104199714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410422669.XA CN104199714B (en) 2014-08-25 2014-08-25 The method that mobile terminal GIS platform is realized on Android system and apple system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410422669.XA CN104199714B (en) 2014-08-25 2014-08-25 The method that mobile terminal GIS platform is realized on Android system and apple system

Publications (2)

Publication Number Publication Date
CN104199714A true CN104199714A (en) 2014-12-10
CN104199714B CN104199714B (en) 2017-07-25

Family

ID=52085011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410422669.XA Expired - Fee Related CN104199714B (en) 2014-08-25 2014-08-25 The method that mobile terminal GIS platform is realized on Android system and apple system

Country Status (1)

Country Link
CN (1) CN104199714B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572107A (en) * 2015-01-12 2015-04-29 浪潮软件股份有限公司 Method and device for constructing WebGIS (Web Geographic Information System) development framework based on DOJO JavaScript
CN106201514A (en) * 2016-07-11 2016-12-07 电子科技大学 The structure of a kind of WebGIS Development Framework based on OpenLayers and using method
CN106777355A (en) * 2017-01-18 2017-05-31 深圳市华第时代科技有限公司 The method and device of compatible Apple Macintosh operating system and Android operation system
CN108897550A (en) * 2018-06-08 2018-11-27 江苏中威科技软件***有限公司 The system and method for program deployment, access, upgrading is realized by encapsulation browser
CN109144497A (en) * 2018-07-06 2019-01-04 航天星图科技(北京)有限公司 A kind of geographical space browser platform and construction method based on Android
CN109325157A (en) * 2018-07-06 2019-02-12 中科星图股份有限公司 Geospatial information bearing method based on browser
CN109831701A (en) * 2019-01-28 2019-05-31 四川长虹电器股份有限公司 The extended method of digital television devices browser and cross-page plane system event

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6097337A (en) * 1999-04-16 2000-08-01 Trimble Navigation Limited Method and apparatus for dead reckoning and GIS data collection
CN101346000A (en) * 2008-07-29 2009-01-14 方圆信通科技(北京)有限公司 System for providing local mobile geographic information service based on GPS and mobile terminal
CN101996199A (en) * 2009-08-20 2011-03-30 浙江省公众信息产业有限公司 System and method for realizing GIS (Geographic Information System) engine based on embedded environment
CN102375879A (en) * 2011-08-22 2012-03-14 河南理工大学 Mobile GIS (Geographic Information System) system based on intelligent mobile phone and application thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6097337A (en) * 1999-04-16 2000-08-01 Trimble Navigation Limited Method and apparatus for dead reckoning and GIS data collection
CN101346000A (en) * 2008-07-29 2009-01-14 方圆信通科技(北京)有限公司 System for providing local mobile geographic information service based on GPS and mobile terminal
CN101996199A (en) * 2009-08-20 2011-03-30 浙江省公众信息产业有限公司 System and method for realizing GIS (Geographic Information System) engine based on embedded environment
CN102375879A (en) * 2011-08-22 2012-03-14 河南理工大学 Mobile GIS (Geographic Information System) system based on intelligent mobile phone and application thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
宋晓飞: "一种基于Android的移动GIS技术实现与应用研究", 《中国优秀硕士学位论文全文数据库 基础科学辑》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572107A (en) * 2015-01-12 2015-04-29 浪潮软件股份有限公司 Method and device for constructing WebGIS (Web Geographic Information System) development framework based on DOJO JavaScript
CN106201514A (en) * 2016-07-11 2016-12-07 电子科技大学 The structure of a kind of WebGIS Development Framework based on OpenLayers and using method
CN106201514B (en) * 2016-07-11 2019-10-01 电子科技大学 A kind of building and application method of the WebGIS Development Framework based on OpenLayers
CN106777355A (en) * 2017-01-18 2017-05-31 深圳市华第时代科技有限公司 The method and device of compatible Apple Macintosh operating system and Android operation system
CN108897550A (en) * 2018-06-08 2018-11-27 江苏中威科技软件***有限公司 The system and method for program deployment, access, upgrading is realized by encapsulation browser
CN108897550B (en) * 2018-06-08 2021-07-30 江苏中威科技软件***有限公司 System and method for realizing program deployment, access and upgrade through packaging browser
CN109144497A (en) * 2018-07-06 2019-01-04 航天星图科技(北京)有限公司 A kind of geographical space browser platform and construction method based on Android
CN109325157A (en) * 2018-07-06 2019-02-12 中科星图股份有限公司 Geospatial information bearing method based on browser
CN109144497B (en) * 2018-07-06 2021-07-20 中科星图股份有限公司 Geographic space browser platform based on android and construction method
CN109325157B (en) * 2018-07-06 2022-07-26 中科星图股份有限公司 Geographic space information bearing method based on browser
CN109831701A (en) * 2019-01-28 2019-05-31 四川长虹电器股份有限公司 The extended method of digital television devices browser and cross-page plane system event
CN109831701B (en) * 2019-01-28 2021-12-21 四川长虹电器股份有限公司 Digital television equipment browser and method for expanding cross-page system event

Also Published As

Publication number Publication date
CN104199714B (en) 2017-07-25

Similar Documents

Publication Publication Date Title
CN104199714A (en) Method for achieving mobile terminal GIS platform on android system and apple system
CN109446570B (en) Business process display method, device, computer equipment and storage medium
KR101790190B1 (en) Application scenario identification method, power consumption management method, apparatus, and terminal device
Charkaoui et al. Cross-platform mobile development approaches
WO2017025056A1 (en) Method and system for realizing data tracking by means of software development kit
WO2017140227A1 (en) Method and system for realizing mobile device data tracking using software development kit
KR102193404B1 (en) Incrementally compiling software artifacts from an interactive development environment
US20150067096A1 (en) Redirecting local storage to cloud storage
CN108021356B (en) Cross-screen and cross-platform measurable live-action map organization method
US11140045B2 (en) Changelog transformation and correlation in a multi-tenant cloud service
CN103530160A (en) Page loading method and device
CN104704468A (en) Cross system installation of WEB applications
US20160379117A1 (en) Location-based delivery of structured content
CN104657118A (en) Native + Web mixed mobile application achieving method and device
US20210209526A1 (en) Landing page processing method, device and medium
CN103473732A (en) Mobile GIS (Geographic Information System) slice map showing method based on concurrent control and double-cache technologies
CN104503755A (en) Dynamic information fusing and presenting method based on HTML5 (hypertext markup language 5) high-definition bitmaps
US11416122B2 (en) Location text
CN104937581A (en) Providing access to information across multiple computing devices
CN104572107A (en) Method and device for constructing WebGIS (Web Geographic Information System) development framework based on DOJO JavaScript
CN103942202A (en) High self-adaptation zooming method and device for webpage text field
CN105786452A (en) System and method for development of lightweight-class APP on mobile equipment
CN105204832A (en) System and method for achieving script engine
CN105653133A (en) Extension method and device of application programs
CN104834715A (en) Website generating method and system based on components and container

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170725