A method for acquiring bus stop and route information based on Web-side JavaScript API
A technology of bus lines and line information, applied in the field of network applications, can solve problems such as low efficiency, missing data, and difficulty in obtaining data in different places, and achieve the effect of improving research and work efficiency
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2019-03-15
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention belongs to the technical field of network applications, and in particular relates to a method for acquiring bus station and line information based on a JavaScript API at a Web end. Background technique
[0002] The acquisition of public transportation stations and route information based on the web terminal of the network electronic map is an important network application technology. The calibration of bus stops and the drawing of bus routes are the first link in the planning and research of urban public transport. For urban public transport planners, they often need to obtain relevant information such as bus stops and bus lines in a certain city or a certain area, and carry out the calibration of bus stops and bus lines in traffic planning software (ArcGIS or TransCAD). Drawing, so as to realize the planning or optimal adjustment of urban bus lines or bus networks.
[0003] When there was no network electronic map in the early stage or...
Examples
Embodiment Construction
[0028] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
[0029] Such as figure 1 As shown, a method for obtaining public transportation site and line information based on JavaScript API on the web side, including steps:
[0030] Step (1), according to the size of the research area you need, use the mouse to click on the network electronic map or directly enter the city administrative district name (or geocode, https: / / lbs.amap.com / api / webservice / guide / api / district / ), after determining the research scope, the user clicks to extract bus information; take the mouse to select the research scope as an example, use the mouse to click the upper left corner of the target area, then move the cursor to the lower right, and click the second point , the rectangular frame formed by connecting two points is used as the research range of the click; use the code of the "event binding" scene to bind the click ev...