CN101499007A - Method for implementing map outline marker based on object-oriented programming language technology - Google Patents

Method for implementing map outline marker based on object-oriented programming language technology Download PDF

Info

Publication number
CN101499007A
CN101499007A CNA2009100258652A CN200910025865A CN101499007A CN 101499007 A CN101499007 A CN 101499007A CN A2009100258652 A CNA2009100258652 A CN A2009100258652A CN 200910025865 A CN200910025865 A CN 200910025865A CN 101499007 A CN101499007 A CN 101499007A
Authority
CN
China
Prior art keywords
map
information
mode
flash
xml
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.)
Pending
Application number
CNA2009100258652A
Other languages
Chinese (zh)
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.)
LINKAGE SYSTEM INTEGRATION CO Ltd
Original Assignee
LINKAGE SYSTEM INTEGRATION 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 LINKAGE SYSTEM INTEGRATION CO Ltd filed Critical LINKAGE SYSTEM INTEGRATION CO Ltd
Priority to CNA2009100258652A priority Critical patent/CN101499007A/en
Publication of CN101499007A publication Critical patent/CN101499007A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Instructional Devices (AREA)

Abstract

A method for realizing map outline symbol based on a programming language technology facing to the object displays the map information by using an actionscript technology to write the map outline symbol and by means of translating and editing actionscript to form a flash, and displays the map information on a web browser, supports the application of b/s; uses an xml file mode to exchange the data, defines the displaying information of the map outline via an appointed xml file format, then uses the mode of http protocol as the parameter to transfer to a map flash to dynamically generates the map information; defines the map information via the xml mode; uses actionscript to realize the flash map and distributes the map which is better distributed to a system of b/s structure. Setting a plurality of map property information comprises background color of each region, line color and size between regions, region information description. The information displaying format is extended, and the simple mode is provided so as to display the development situation of each region.

Description

Realize the method for map outline marker based on the Object-Oriented Programming Language technology
Technical field
The invention belongs to telecom operators' service data information and represent the application technology category, especially realize the method for map outline marker based on ActionScript (Object-Oriented Programming Language) technology.
Background technology
Telecom operators are by years of development, and business operation support system is more and more ripe.Present emphasis tilts to operation analysis system gradually, and system provides operational decision making and business diagnosis function by analysis, promotes self runing of telecommunications and is worth.Telecommunications leader and analyst can often log on the valuable information of obtaining in the operation analysis system in routine duties.
Current represent or adopt traditional form, graphic form to represent through minute information.In the time of special topic zone of user capture, the form of the summary info that at first enters (figure) interface jumps to again in another form (figure) by click event then.When user's handover information repeatedly is, may cause vision to obscure, primary and secondary information is not directly perceived, and it is unintelligible to represent pattern, all is the form data.Do not go into numerous transition by letter.In case amount of system information is increasing, the intuitive that system information represents, the convenience of use also can become the important evidence that system builds quality.
Summary of the invention
The present invention seeks to: at the information of current system represent form simple, represent the content dullness, propose to adopt the mode of ground map contour (to pass through color differentiating, information labeling, modes such as event response) development of clear reaction each place reaches that to represent form simple and clear.
Technical scheme of the present invention is: the method that realizes map outline marker based on the Actionscript technology, the function that adopts the actionscript technology to write map outline marker, compiling actionscript forms the flash mode and represents cartographic information, on the web browser, this cartographic information can be represented, the application of b/s can be supported;
Adopt the xml file mode to do the mutual of data, the xml file layout by appointment has defined ground map contour presenting information, adopts the mode of http agreement to pass to map flash as parameter then, dynamically generates cartographic information.
Can define the following information of map by the xml mode: the map property information definition is abundant.
The ground map contour represents and represent the map profile information exactly on the interface, for example will form the analytical map of region, Jiangsu, so just only draws out the information in all cities, Jiangsu, if check the district profile in Nanjing, so just draws out ground, the district map contour in Nanjing.These map profile informations are to adopt the information of pixel coordinate to provide, and store configuration file into, can generate the ground map contour.
Owing to be the application of simple cartographic information, be not Geographic Information System truly, so adopt the mode of research and development voluntarily to realize above-mentioned functions, it is convenient and swift to make secondary development dispose.
Consider the platform general information that web uses, just adopt the actionscript mode to realize the symbol of ground map contour, realize the ground map contour, then the actionscript compiling is generated the flash file by the actionscript programming.Thereby can support application based on the b/s framework of web browser.
The flash mode issues because actionscript finally still generates, and in order to make ground map contour flash code more agile and all-purpose, adopts xml mode store map data information, realizes the self-defined dynamic generation of map profile information.
Carry by xml mode setting map information, comprising:
1), each regional background color
Can set the background information every the zone, background information can differ from one another.
2), interregional line color and size
Line color and lines size between can setting regions
3), area information explanation
Add descriptive information can for each zone, each regional information can differ from one another.
4), each regional trigger event
Can set the trigger event every the zone, each regional trigger event can differ from one another.
Kind of event comprises: mouse suspends, mouse leaves, mouse-click, mouse are double-clicked.
The self-defined use javascript language definition temporal information of event information.The Flash file adopts readjustment
The function mode is visited the event information of javascript.The parameter of setting incident is the javascript function name.
5), map datum profile information
Transmit the map symbol coordinate information of pixel-wise.
6), the amplification of map, reduction capability
The setting of whole map amplification and reduction capability is provided.
The code that offers the secondary development personnel has only flash map and xml map configuration file rule, and the secondary development personnel only need transmit the formulation that parameter just can be finished the individual character map according to the xml form of appointment.The map flash file that provides can be provided the secondary development personnel, writing the xml file specifies which to do analysis at concrete application scenarios, can come out the region status of development with color differentiating, also can set and click the analytical information that certain zone sees that this is regional, also can see the ground domain information of next stage by double-click.
Adopt the actionscript technology, can call the javascript call back function by setting map flash, editor's trigger event function that can loose coupling, function editor finish in javascript.
Beneficial effect of the present invention: adopt actionscript to realize the mode of flash map, can be deployed to cartographic analysis preferably in the system of b/s framework.Can set a plurality of map property information, comprise: each regional background color, interregional line color and size, area information explanation, each regional trigger event, map datum profile information, the amplification of map, reduction capability.At total system, the information of having enriched represents form, provides a kind of simple and clear mode to present each region development.For the service application functional development of system provides new mode.
For the secondary development personnel, exploitation is simple the ABC of low, only need understand the definition of xml solicited message and get final product.
Xml file layout by appointment has defined ground map contour presenting information again, adopts the mode of http agreement to pass to map flash as parameter then, dynamically generates cartographic information.By the cartographic analysis mode, can clearly reflect the overview of each region, simple and clear, can be in the information that care was provided to the user than the short time.If find to have the ground domain information unusual, also can inquire the business information of information more.By the cartographic analysis mode, can tissue that analyze special topic be rationalized, can go into numerously by letter, abundant information represents.
Description of drawings
Fig. 1: be the analysis at the income of not entering an item of expenditure in the accounts of Anhui districts and cities, background color is that the zone of yellow (dark slightly color) is the poor zone of income accounting in the drawings.
The cannonical format definition of Fig. 2: xml
Fig. 3: the xml file specifically defines
Fig. 4: be the code that map is embedded into the page
Embodiment
With figure one is the pixel symbol coordinate that example secondary development personnel need obtain the Anhui map, is spliced into the xml mode then and passes to map flash file as parameter, generates map.When user click Hefei, will check the analysis special topic managing detailed catalogue in Hefei so, work as double-click, will enter the district information in Hefei.
Concrete embodiment is:
1) first step: write xml information, the parameter information that setting map generates.The cannonical format definition of xml is as Fig. 2.
Wherein area and text label can re-define, and each area represents a zone, and text represents the text remark information.<area〉the color attribute be the setting area background color.<map〉linecolor and linewidth be lines color and size between the setting area.<text〉be setting area information explanation.<area〉clickfunc, clickargs, clickdoublefunc, clickdoubleargs, movemousefuncs, movemouseargss, outmousefuncs, outmouseargss attribute be the trigger event information of setting area.<area〉the points attribute be the profile information that map is set.<map〉marginleft, margintop, scalex, scaley the map zoom function is set.
According to the demand in Anhui, the xml file is concrete to be defined as Fig. 3:
2) second step: be in the page, only need write one section code, just can be embedded into the page to map, as Fig. 4.
Call the sendMapReq method, can generate map.

Claims (2)

1, realizes the method for map outline marker based on the Object-Oriented Programming Language technology, it is characterized in that adopting the actionscript technology to write the function of map outline marker, compiling actionscript forms the flash mode and represents cartographic information, on the web browser, represent this cartographic information, support the application of b/s;
Adopt the xml file mode to do the mutual of data, the xml file layout by appointment has defined ground map contour presenting information, adopts the mode of http agreement to pass to map flash as parameter then, dynamically generates cartographic information:
Define the following information of map by the xml mode:
1), each regional background color
Setting is every the background information in zone, and background information differs from one another;
2), interregional line color and size
Line color between setting regions and lines size;
3), area information explanation
Add descriptive information for each zone, each regional information differs from one another;
4), each regional trigger event
Setting is every the trigger event in zone, and each regional trigger event can differ from one another;
Kind of event comprises: mouse suspends, mouse leaves, mouse-click, mouse are double-clicked;
The self-defined use javascript language definition temporal information of event information, the event information that the Flash file adopts the call back function mode to visit javascript; The parameter of setting incident is the javascript function name;
5), map datum profile information
Transmit the map symbol coordinate information of pixel-wise;
6), the amplification of map, reduction capability
The setting of whole map amplification and reduction capability is provided.
2, by the described method that realizes map outline marker based on the Object-Oriented Programming Language technology of claim 1, it is characterized in that providing the function bag of secondary development, flash map file and xml map configuration file rule that the function bag that offers the secondary development personnel is only realized based on actionscript for the programmer; The secondary development personnel only need transmit parameter according to the xml form of appointment just can generate concrete cartographic information.
CNA2009100258652A 2009-03-11 2009-03-11 Method for implementing map outline marker based on object-oriented programming language technology Pending CN101499007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2009100258652A CN101499007A (en) 2009-03-11 2009-03-11 Method for implementing map outline marker based on object-oriented programming language technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2009100258652A CN101499007A (en) 2009-03-11 2009-03-11 Method for implementing map outline marker based on object-oriented programming language technology

Publications (1)

Publication Number Publication Date
CN101499007A true CN101499007A (en) 2009-08-05

Family

ID=40946092

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2009100258652A Pending CN101499007A (en) 2009-03-11 2009-03-11 Method for implementing map outline marker based on object-oriented programming language technology

Country Status (1)

Country Link
CN (1) CN101499007A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937572A (en) * 2010-09-14 2011-01-05 北京神州泰岳软件股份有限公司 Flash synthesis method
CN105069118A (en) * 2015-08-11 2015-11-18 北京思特奇信息技术股份有限公司 GIS configuration-based application scene management method and system
CN111105477A (en) * 2019-11-25 2020-05-05 航天科技控股集团股份有限公司 Method for drawing 2D virtual pointer of full liquid crystal instrument

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937572A (en) * 2010-09-14 2011-01-05 北京神州泰岳软件股份有限公司 Flash synthesis method
CN105069118A (en) * 2015-08-11 2015-11-18 北京思特奇信息技术股份有限公司 GIS configuration-based application scene management method and system
CN105069118B (en) * 2015-08-11 2018-04-03 北京思特奇信息技术股份有限公司 A kind of application scenarios management method and system based on GIS configurations
CN111105477A (en) * 2019-11-25 2020-05-05 航天科技控股集团股份有限公司 Method for drawing 2D virtual pointer of full liquid crystal instrument

Similar Documents

Publication Publication Date Title
CN102567539B (en) Intelligent WEB report implementation method and intelligent WEB report implementation system
CN110597586A (en) Method and device for large screen layout of componentized layout based on dragging
CN103886398B (en) Business monitoring method and system under a kind of cross-system isomerous environment
CN103530407B (en) Method and device for generating rich text document
CN103473068A (en) Customizing system and customizing method for graph real-time monitoring interface based on SVG (Scalable Vector Graphics)
CN101483342A (en) Geographical information system used for electric system
CN103778201A (en) Large-screen visualization display system and method based on procedural model configuration
CN106708480A (en) Management platform realization method and apparatus
CN105630512A (en) Method and system for implementing mobile device data tracking through software development toolkit
US8495485B2 (en) System, method, and apparatus for location identification of content
CN104134121A (en) Method for achieving visualization of power grid information system business data
CN103617505A (en) Dynamic analysis and display system and method for enterprise flow chart
CN114461200A (en) Low-code development application and method based on cloud SaaS platform
CN102298740A (en) Business process management supporting method
CN102236709A (en) Flex-based monitoring page display method and system
CN112231387B (en) Railway data visual interaction system and method, electronic equipment and storage medium
CN104636394A (en) Displaying method, system and device for user generated content information
US20180039998A1 (en) Automated Integration of Partner Products
CN102354387A (en) Multi-dimensional platform data mining method and system of power grid dispersed power supply information
US20080040677A1 (en) HMI Development Support Apparatus, HMI Development Support Method and HMI Development Support Program
CN101499007A (en) Method for implementing map outline marker based on object-oriented programming language technology
CN104834715A (en) Website generating method and system based on components and container
CN102868746B (en) Method for realizing mobile informationization
CN102411498A (en) Method for realizing data model and graphical designer
CN111209329B (en) Dynamic analysis method, device and system based on full-traffic price and cost transaction path

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090805