CN107644067A - A kind of cross-platform indoor map display methods of two three-dimensional integratedization - Google Patents
A kind of cross-platform indoor map display methods of two three-dimensional integratedization Download PDFInfo
- Publication number
- CN107644067A CN107644067A CN201710788232.1A CN201710788232A CN107644067A CN 107644067 A CN107644067 A CN 107644067A CN 201710788232 A CN201710788232 A CN 201710788232A CN 107644067 A CN107644067 A CN 107644067A
- Authority
- CN
- China
- Prior art keywords
- map
- indoor
- data
- floor
- dimensional
- 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
Links
Landscapes
- Instructional Devices (AREA)
- Navigation (AREA)
Abstract
The invention discloses a kind of cross-platform indoor map display methods of two three-dimensional integratedization.Indoor map data are obtained in the present invention, go out each floor maps data from the indoor map extracting data, the data of different figure layers are loaded based on the layer management function in floor, realized based on WebGL technologies cross-platform, the color applying drawing of map is carried out by indoor map Engine draws flow, by setting two Three-dimensional Display parameters, to realize the two of engine map three-dimensional switchings, by preferentially drawing one floor data of display, and asynchronously show other floor datas, so as to reach the effect quickly shown, the functional module that engine provides according to the map, meet that user's indoor map shows demand.By carrying out layer management for indoor map data and map datum being rendered in the present invention, and three-dimensional ground object model is loaded, so as to reach true outdoor scene effect true to nature.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of cross-platform indoor map of two three-dimensional integratedization to show
Method.
Background technology
With the rapid development of computer graphics, three-dimensional simulation technique, virtual reality technology and the network communications technology,
Network Three-dimensional electronic map is understood as a kind of more convenient and informative map exhibition method by people.Wherein, it is electric
Sub- map can provide the user the map inspections such as outdoor map inquiry, trip navigation by intuitively geographical outdoor scene analog representation mode
Suo Gongneng, while also it is integrated with a series of services such as living information, E-Government, ecommerce, virtual community, trip navigation.
In terms of outdoor map displaying, popularization is compared in the displaying based on two-dimensional map, more using plane map and image
Two kinds of exhibition methods of figure, even extensive civilian outdoor three-dimensional map are only the plane picture based on the generation of 2.5 visual angles actually.
, can be to indoor carry out map exhibition currently without preferable indoor map automotive engine system in terms of map displaying indoors
Show, different from the displaying of outdoor scenes, indoor building shape have larger changeability and interior object it is more and
It is complex-shaped, also, most buildings are sandwich construction, can not preferably show the cartographic information of each floor, so, it is currently real
Certain technical difficulty be present in the displaying of existing indoor map.So current map denotation presence can not be preferably in showroom
The technical problem of cartographic information.
The content of the invention
It is a primary object of the present invention to provide a kind of cross-platform room of cross-platform two three-dimensional integratedization of two three-dimensional integratedization
Interior map-indication method, it is intended to solve in the prior art can not preferably in showroom cartographic information technical problem.
To achieve the above object, the present invention provides a kind of cross-platform room of cross-platform two three-dimensional integratedization of two three-dimensional integratedization
Interior map-indication method, the described method comprises the following steps:
Indoor map data are obtained, go out each floor maps data from the indoor map extracting data;
The data of different figure layers are loaded based on the layer management function in floor;
Realized based on WebGL technologies it is cross-platform, pass through indoor map Engine draws flow carry out map color applying drawing;
By setting two Three-dimensional Display parameters, to realize the two of engine map three-dimensional different display effects;
By preferentially drawing one floor data of display, and other floor datas are asynchronously shown, so as to reach quick display
Effect;
The functional module that engine provides according to the map, meet that user's indoor map shows demand.
Preferably, the color applying drawing that map is carried out based on indoor map Engine draws flow, is specifically included:
The color applying drawing of map is carried out using default map styles based on indoor map Engine draws flow.
Preferably, the default map styles are included in map background, atural object color, communal facility picture and font style
Any one.
Preferably, the color applying drawing that map is carried out based on indoor map Engine draws flow, is specifically included:
Map denotation engine is loaded, and carries out the color applying drawing of map based on WebGL technologies under HTML5 framework.
Preferably, it is described by setting two Three-dimensional Display parameters, to realize the two of engine map three-dimensional different display effects,
Specifically include:
Two Three-dimensional Display switchings are carried out by two Three-dimensional Display parameters, corresponding effect is shown according to switching result, so as to
Realize two three-dimensional integratedization.
Preferably, the functional module that the engine according to the map provides, is specifically included:
The pattern of user's selection is received, target map pattern is extracted from the pattern;
The indoor map is rendered again based on the target map pattern, with getting in first object room
Figure, and the first object indoor map is shown, to realize the calling for pattern handoff functionality module.
Preferably, the functional module that the engine according to the map provides, is specifically included:
The thermodynamic chart selection of user's input is received, from the indoor map extracting data current geographic position information, is adopted
Collect personnel's distribution density information in the range of the current geographic position information, by personnel's distribution density information according to
Current geographic position information is accordingly labeled in the indoor map, using the indoor map after mark as the second target
Indoor map, and the second target indoor map is shown, to realize the calling for thermodynamic chart functional module.
Preferably, the functional module that the engine according to the map provides, is specifically included:
The floor handover information of user's input is received, current floor mark is extracted from the floor handover information, from
Current floor map datum corresponding with current floor mark is extracted in the indoor map, to the current floor
Diagram data is rendered, and with current floor map corresponding to acquisition, and shows the current floor map, to realize for floor
The calling of handoff functionality module.
Preferably, the indoor map data include floor figure layer, atural object figure layer, communal facility figure layer, text marking, figure
Any one of piece mark, polygon figure layer, navigation spots, leading line, elevator information and stair information.
Preferably, the acquisition indoor map data, go out each floor maps data from the indoor map extracting data
Afterwards, methods described also includes:
From the indoor map extracting data data version information, by the data version information and default version information
Matched, when the match is successful, perform the step that the layer management function based in floor loads the data of different figure layers
Suddenly.
By by for indoor map data layer management and render map datum in the present invention, and add
Three-dimensional ground object model is carried, so as to reach true outdoor scene effect true to nature.
Brief description of the drawings
Fig. 1 is the flow signal of the cross-platform indoor map display methods first embodiment of two three-dimensional integratedization of the invention
Figure;
Fig. 2 is the schematic flow sheet of the cross-platform indoor map display methods of two three-dimensional integratedization of the invention;
Fig. 3 is the schematic flow sheet that the present invention using indoor three-dimensional map engine render editor;
Fig. 4 is the schematic flow sheet of the indoor three-dimensional map engine renders of the present invention;
Fig. 5 is the interfacial effect schematic diagram that the indoor three-dimensional map engine of the present invention is shown;
Fig. 6 is the flow signal of the cross-platform indoor map display methods second embodiment of two three-dimensional integratedization of the invention
Figure;
Fig. 7 a are the display renderings for the indoor map that the present invention is switched to two dimension by indoor three-dimensional map engine;
Fig. 7 b are the display renderings for the indoor map that the present invention is switched to three-dimensional by indoor three-dimensional map engine;
Fig. 8 is the flow signal of the cross-platform indoor map display methods 3rd embodiment of two three-dimensional integratedization of the invention
Figure;
Fig. 9 is the flow signal of the cross-platform indoor map display methods fourth embodiment of two three-dimensional integratedization of the invention
Figure;
Figure 10 is the flow signal of the cross-platform embodiment of indoor map display methods the 5th of two three-dimensional integratedization of the invention
Figure;
Figure 11 is the flow signal of the cross-platform indoor map display methods sixth embodiment of two three-dimensional integratedization of the invention
Figure.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
Embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
Reference picture 1, Fig. 1 are the stream of the cross-platform indoor map display methods first embodiment of two three-dimensional integratedization of the invention
Journey schematic diagram.
In the first embodiment, the cross-platform indoor map display methods of two three-dimensional integratedization comprises the following steps:
Step S10, indoor map data are obtained, go out each floor maps data from the indoor map extracting data;
It should be appreciated that can by map denotation engine first out of network loading chamber map datum, if the execution
Main body is smart mobile phone, the mode for obtaining indoor map data, first, indoor map data can shift to an earlier date offline storage in intelligence
Can mobile phone local;Second, indoor map data can be also stored in map server, when user needs to show indoor map,
Map datum request is sent to map server, so that the map server is anti-by the indoor map data stored in server
It is fed to smart mobile phone.Wherein, the map server is that the smart mobile phone for being used to user provides indoor map data
Storage device, the indoor map data refer to the set for recording the spatial information in target structures thing.
In the specific implementation, each floor maps data first can be gone out from the indoor map extracting data, and to the building
Layer map datum is drawn respectively.
It should be appreciated that in view of the particularity of indoor map, because the target structures thing in indoor map may be more
Layer building, moreover, the map datum of different floors is distinct, so, indoor map data are gathered for convenience and to interior
Map datum is rendered finally to obtain indoor map, can be divided the indoor map data according to floor, you can
Go out each floor maps data from the indoor map extracting data, can also accelerate the display speed for indoor map, and in fact
The successively display for dividing floor of existing indoor map.The floor maps data refer to the ground of the destination in indoor map data
Diagram data, such as, if target structures thing is seven layers of building, the division of indoor map can be carried out according to the specific floor number of plies, you can
Every layer of floor maps data, that is, seven parts of floor maps data are obtained, correspond to seven layers of building letter in space respectively
Breath.
Step S20, the data of different figure layers are loaded based on the layer management function in floor;
Certainly, the layer management function in floor refers to be classified concept of the indoor map data essentially according to floor
Management, the indoor map data can be categorized as floor figure layer, atural object figure layer, communal facility figure layer, text marking, picture mark
Any one of note, polygon figure layer, navigation spots, leading line, elevator information and stair information.Because than outdoor map
Displaying, indoor map displaying exist higher technical difficulty, such as, in indoor map there will be floor, elevator & stairs and
The indoor object such as indoor communal facility, for the ease of recording and showing above-mentioned indoor object, can using figure layer division by the way of pair
Specifying information in indoor map is classified, collection and final displaying in order to the information.Such as can be to indoor ground
Diagram data carries out figure layer division, is divided into floor figure layer, atural object figure layer, communal facility figure layer, text marking, picture and marks, be more
The information such as side shape figure layer, navigation spots, leading line, elevator information and stair information.Floor maps are carried out according to the figure layer data
Draw, with each floor maps corresponding to acquisition.
The schematic flow sheet of the cross-platform indoor map display methods of two three-dimensional integratedization as shown in Figure 2, wherein figure layer
Management may include base map layers, and the base map layers include communal facility layer, model figure layer and text label figure layer, the figure layer pipe
Reason may also include self-defined figure layer, can according to user's request carry out it is self-defined, such as point figure layer, line chart layer, picture mark figure layer,
Figure layer and hierarchy figure layer are defined, the layer management may also include analysis figure layer, such as heating power figure layer and navigation figure layer,
So as to realize the management to the validity of figure layer.
By carrying out Classification Management to figure layer, so as to improve the function of indoor three-dimensional map engine, such as by each
Figure layer carries out Classification Management, when carrying out figure layer editor, can quickly find the figure layer for needing to edit, such as carrying out heating power
During the editor of figure layer, heating power figure layer can be quickly found, and handled accordingly.
The indoor three-dimensional map engine can also receive the Style Attributes of user's input, be carried out according to the Style Attributes corresponding
Object import, so as to indoor three-dimensional map carry out color applying drawing.
The schematic flow sheet for using indoor three-dimensional map engine render editor as shown in Figure 3, wherein pattern are set
It may include object picture pattern, line pattern, positioning object style, text label object style and leading line pattern etc., to scheme
Exemplified by piece object style, carrying out before object picture renders, setting the pattern of the object picture first, such as the size of picture,
Color etc., set in picture pattern and then the object picture is rendered, such as import three-dimensional mould corresponding to the picture
Type, the better authenticity so that object picture seems, also personalized customization can be carried out according to customer requirement, so as to meet difference
The demand of user.
When carrying out object setting, it may include communal facility object, model object, text label object, object picture, fixed
Position object, line object, navigation line object and 3D objects etc..Such as when progress model object renders, to bus stop area
When the bus progress model object in domain renders, the bus is subjected to threedimensional model importing, so that solid is presented in bus
The sense of reality, the function of three-dimensional map engine in enhanced room, so as to improve Consumer's Experience.Rendered by indoor three-dimensional map
Draw, the function of three-dimensional map engine in enhanced room, and realize visual indoor map engine, and make atural object more true
Sense, so as to improve Consumer's Experience.
Step S30, realized based on the Internet images storehouse (Web Graphics Library, WebGL) technology it is cross-platform, lead to
Cross the color applying drawing that indoor map Engine draws flow carries out map;
It should be noted that the indoor three-dimensional map engine can be based on HTML (HyperText Markup
Language, HTML) framework realization, preferably HTML5.Based on HTML5 frameworks, the Internet images storehouse (Web can be used
Graphics Library, WebGL) the cross-platform displaying for realizing indoor map of drawing technique, realized by WebGL technologies
Realize that the display problem in the indoor map of different platform, such as user pass through browsing on mobile phone or computer by a set of code
Device, the displaying of indoor map can be carried out by different types of browser.
Render and can call rendering intent by starting animation, then call view rendering side carrying out indoor three-dimensional map
Method and calling WebGL render to carry out indoor three-dimensional map.
The schematic flow sheet of indoor three-dimensional map engine renders as shown in Figure 4, when the indoor three-dimensional map of progress renders,
Map corresponding to ID is first turned on, loading, analytic map pattern, after pattern is parsed, judges whether that atural object, which is not present, to be clicked on
Action listener function, if it does not exist, then addition atural object clicks on action listener function, monitored if it is present starting, after calling
Platform asks atural object data, and carries out data conversion, then initializes scene, floor data is converted into atural object atural object mesh
Mark 3D objects are simultaneously added in scene, and extraction floor data is parsed and changed, according to the floor atural object number after parsing, conversion
It is added to according to the target 3D objects of construction in scene, and starts animation, calls rendering intent, recycles recurrence amending method unlimited
Circulation, then call view rendering method and call WEBGL rendering intents to be rendered so as to realize to indoor three-dimensional map, also
The authenticity of atural object, improves Consumer's Experience in former indoor three-dimensional map.
It is understood that after the indoor map data being managed with figure layer concept are got, indoor ground can be based on
Figure Engine draws flow carries out the color applying drawing of map, so it is easy to understand that the indoor map Engine draws flow refers to, leads to
Visualized map engine is crossed to go to show indoor map.
In the specific implementation, rendered to the figure layer data, with each floor maps corresponding to getting, described in displaying
Floor maps, to realize the displaying to indoor map.Go to realize the drafting of floor maps based on above-mentioned each figure layer data, than it
Floor maps are drawn using floor maps data as whole removing, it is more efficient and quick to divide the mode of figure layer, Ke Yirang
User quickly sees the displaying of indoor map.Also, in order to further accelerate map acquisition speed, due to entering for figure layer
Go division, certain priority can also have been carried out to each figure layer parameter corresponding with each figure layer data and divided, such as, for reality
Now quick displaying, can first show that user may most think the information first seen, floor figure layer, atural object figure layer and communal facility can be set
Figure layer is the first priority, and it is the second priority that the information such as text marking and picture mark, which can be set,., can be excellent when user watches
First render and show the information of the first priority, then show the information of the second priority, so that obtaining user can quickly obtain
Effective information.When the network environment residing for smart mobile phone is less unobstructed, this kind of mode can preferably weaken network speed difference band
Negative influence, also achieve effective collection for indoor map data and effectively classification, also improve indoor map and show
Reaction speed.In addition, by setting certain figure layer parameter priority, it is ensured that user can get effective room
On the premise of interior information, accelerate the displaying speed of map.
It is understood that after the indoor map data are carried out with floor and figure layer division, each layer can be obtained
Floor maps data, and then the figure layer data of floor maps data are got, the figure layer data can be rendered, to obtain
Corresponding each floor maps.
In the specific implementation, after seven parts of floor maps corresponding with seven parts of floor maps data are had been obtained for,
User can individually carry out the viewing of each layer map by floor maps, still, unified visual angle is based on for entirely building to realize
Build space to be observed, the floor maps can be spliced, using spliced map as indoor map, you can obtain room
Interior map.User can more clearly from observe whole target structures thing by direct viewing indoor map.
Step S40, by setting two Three-dimensional Display parameters, to realize the two of engine map three-dimensional different display effects;
It is understood that the difference of the observation visual angle of two-dimensional map and three-dimensional map causes the letter that user can get
Breath type has differences, and both can watch two-dimensional map simultaneously for the ease of user or can watch three-dimensional map, and dimension can be set
Selection instruction is spent, the dimension selection instruction chooses the dimension map for being currently needed for display for user and display is rendered good
Dimension map.For example when user needs to show three-dimensional map, it is according to the current dimension that the dimension selection instruction determines
For three-dimensional.
In the specific implementation, it is determined that display three-dimensional map after, by the indoor map data including three-dimensional map data
Rendered, to get corresponding three-dimensional indoor map;Or in order to accelerate display speed, can render in advance completion this three
Indoor map is tieed up, when user inputs dimension selection instruction, directly displays the three-dimensional indoor map of the rendered completion.
It is understood that in order to show three-dimensional indoor map, the indoor map data may include three-dimensional modeling data
With non-three-dimensional modeling data, the three-dimensional modeling data refers to the data that three-dimensional shape is recorded by wire frame, the non-three-dimensional mould
Type data refer to the three-dimensional modeling data carry out Texture mapping color and lines information, with reference to three-dimensional modeling data with it is non-
Three-dimensional modeling data, which is rendered, can just show clear and the colorful one floor maps.
Further, first the non-three-dimensional modeling data can be loaded, to obtain corresponding relief-map.Wherein,
The relief-map is the cartographic information without embodiment threedimensional model, such as, backcolor and building substance markers etc..
Further, after relief-map is got, the relief-map can be carried out by the three-dimensional modeling data
Draw, to get indoor map.
It is understood that due to only delineating relief-map, user still can not find out specific and detailed building
Thing picture, so, after relief-map corresponding to getting, the relief-map can be carried out by the three-dimensional modeling data
Draw, to obtain corresponding indoor map, you can get the indoor map that user can be observed how the details of building.
Wherein, the reason for first obtaining relief-map is that the data volume of three-dimensional modeling data is larger, so by for threedimensional model number
Need to consume larger amount of calculation according to cartographic information corresponding to render acquisition, in order to allow user quickly can observe ground
Figure, can be by with three-dimensional modeling data successively dividually draw to non-three-dimensional modeling data, also, can also avoid same
When handle three-dimensional modeling data and non-three-dimensional modeling data equipment operand it is excessive the problem of.
In the specific implementation, relief-map can not clearly see the specific object of interior clearly, still, with getting model
Secondary drafting is carried out after figure again to get corresponding indoor map, does not divide and three-dimensional directly enters with non-three-dimensional modeling data than it
Row renders figure, the technical scheme that the present embodiment provides, user can be allowed more stably to check indoor two three-dimensional maps, and allow and set
Standby operand tends to be steady.
It is understood that because the ratio data of threedimensional model is big, the first display of engine map acquiescence is except threedimensional model
Other data messages, it is then asynchronous to load threedimensional model one by one, it is displayed immediately on after the completion of loading above map, so as to realize three
Dimension map is fade-in formula and enters map scene.
Step S50, by preferentially drawing one floor data of display, and other floor datas are asynchronously shown, so as to reach
The effect quickly shown;
In the specific implementation, by first handle floor maps data acquisition to corresponding to each floor maps, it is finally indirect again
Ground gets indoor map, does not divide floor than it and directly renders indoor map, the drafting display mode of the present embodiment is easy to
The management for floor maps is realized, user can also be allowed quickly to get map, because user first can be shown to user
The floor maps at place, then other floor maps are shown, based on this kind, orderly floor maps are shown, i.e., initial by setting
The mode for loading floor is come after the completion of quick one layer of displaying of first loading, continues to load other floors, accelerates display speed so as to reach
The technique effect spent and allow user quickly to get map.
Because the data of threedimensional model are bigger, indoor three-dimensional map engine acquiescence first show except threedimensional model other
Data message, it is then asynchronous to load threedimensional model one by one, it is displayed immediately on after the completion of loading on map, so as to realize three-dimensional atural object
It is fade-in formula and enters map scene.
Step S60, the functional module that engine provides according to the map, meet that user's indoor map shows demand.
When in the specific implementation, carrying out indoor three-dimensional map displaying, there is provided some interface modules are called for user,
Such as the switching of compass, floor, zoom, locating and displaying, Map roaming, thermodynamic chart, path navigation and pattern switching etc.
Functional interface.
For indoor three-dimensional map engine also when carrying out Map roaming, whole map can all realize rotation, zoom map
To check atural object relevant location information, support to rotate map by right mouse button on computers, drawn on mobile phone by finger
Machine screen interface start to rotate map, so as to realize the 360 of indoor three-dimensional map degree of roaming displayings.
The interfacial effect schematic diagram that indoor three-dimensional map engine as shown in Figure 5 is shown, indoor three-dimensional map engine can prop up
Compass to be held to show, compass is primarily used to show the direction of indoor three-dimensional map, after indoor three-dimensional map is rotated,
Compass is also rotated, and keeps the direction of indoor three-dimensional map correctly to show.
Continue as shown in figure 5, indoor three-dimensional map engine can also support floor to switch, floor switching mainly includes single floor
Display, all floors show, choose one of floor to show, can carry out the switching of two and three dimensions.
Continue as shown in figure 5, indoor three-dimensional map engine also supportably figure zoom function, to whole indoor three-dimensional
Map carries out chi to scale and is amplified diminution, is not limited only to two-dimentional atural object, threedimensional model atural object is also scaled in proportion.
On computers can by clicking on zoom tool bar or mouse roller come zoom, can also on mobile phone by gesture come
Realize zoom function.
Indoor three-dimensional map engine also supportably figure locating and displaying, it is primarily used to be supplied to user will positioning after positioning
Data are shown on map, and location data includes positional information and directional information, when location data updates, locating and displaying icon
Update immediately.
Indoor three-dimensional map engine can also carry out Map roaming thermodynamic chart, the Map roaming thermodynamic chart be according to the map on
Personnel's distributing position, the thermal information then generated are aobvious so as to what is intuitively changed for showing which local people's aggregation is relatively more
Show, by setting different heating power data per minute, the heating power figure layer of map denotation can dynamic change.
Indoor three-dimensional map engine can also carry out path navigation, mainly select beginning and end on three-dimensional map indoors
Afterwards, engine map cooks up a paths and carries out Dynamic Display, and path planning supports that more floor gaps, mistake underpass etc. are a variety of
Complex scene.After path has been planned, engine map supports navigation displaying.
Indoor three-dimensional map engine can also carry out the switching of different-style pattern, can solve the map back of the body by pattern file
The configuration of scape, atural object color, communal facility picture, font style etc., reach quick modification map style without repairing
Change corresponding map automotive engine system code, so as to realize personalized customization.
Continue as shown in Fig. 2 the indoor map data loaded from network are first solved by the indoor three-dimensional map engine
Analysis;And the indoor map data to getting carry out layer management, while map displaying, Yong Huke are carried out by visualization engine
Unrestricted choice three-dimensional display or two dimension displaying;And, there is provided multiple functions module is called for user.
By carrying out layer management for indoor map data and map datum being rendered in the present embodiment, and load
Three-dimensional ground object model, so as to reach true outdoor scene effect true to nature.
Reference picture 6, Fig. 6 are the cross-platform indoor map display methods second embodiment of the invention based on two three-dimensional integratedization
Schematic flow sheet, based on first embodiment, propose the cross-platform indoor map display methods of two three-dimensional integratedization of the invention
Second embodiment, the step S40, is specifically included:
Step S401, two Three-dimensional Display switchings are carried out by two Three-dimensional Display parameters, are shown accordingly according to switching result
Effect, so as to realize two three-dimensional integratedization.
Continue indoor three-dimensional map engine interface as shown in Figure 5, understand that indoor three-dimensional map engine can by the interface
Two three-dimensional map handoff functionalities are provided, is clicked on by user and carries out two three-dimensional switchings, so as to realize the display of two three-dimensional integratedization.
The display effect of the indoor map that two dimension is switched to by indoor three-dimensional map engine as shown in Figure 7a, such as Fig. 7 b
The display effect of the shown indoor map that three-dimensional is switched to by indoor three-dimensional map engine, has in figure and understands to same ground
The display effect of thing in different modes, such as research department 1 and research department 2 are in the same plane in two dimension view, still
When being switched to three-dimensional display mode, it can be seen that research department 1 and research department 2 are in Different Plane, so as to give client to provide
Different atural object display view angles, and pass through indoor three-dimensional integratedization of three-dimensional map engine implementation two.
In the present embodiment, by providing two three-dimensional switching interfaces, so as to realize the display effect of two three-dimensional integratedization, carry
High Consumer's Experience.
Reference picture 8, Fig. 8 are the cross-platform indoor map display methods 3rd embodiment of the invention based on two three-dimensional integratedization
Schematic flow sheet, based on first embodiment or second embodiment, propose the cross-platform indoor ground of two three-dimensional integratedization of the invention
The 3rd embodiment of figure display methods, below to be illustrated based on first embodiment.
In the third embodiment, the step S60, is specifically included:
Step S601, the pattern of user's selection is received, target map pattern is extracted from the pattern;
It is understood that map support different-style pattern switching, by pattern text can solve map background,
The configuration of atural object color, communal facility picture, font style etc., reach quick modification map style without modification pair
Answer engine map system code.
It is understood that the default map styles include map background, atural object color, communal facility picture and font
The loading procedure of any one of pattern, indoors map, adding for indoor map can be realized by the map styles of acquiescence
Carry, certainly, user can unrestricted choice user need map styles.In order to meet otherness need of the user for map style
Ask, can be by setting default map styles to realize the second-order correction to existing indoor map, to meet the aesthetic requirement of user.Institute
Can be rendered according to default map styles to the figure layer data, with each floor maps corresponding to getting, described in displaying
Floor maps, to realize the displaying to indoor map.For example if the map background color in indoor map is white and during font is
Literary regular script, the map background color set in default map styles is light green and font is the Chinese Song typeface, based on default map
After pattern renders to the figure layer data, the map background color in the new indoor map is changed to light green and word
Body is the Chinese Song typeface.
Step S602, the indoor map is rendered again based on the target map pattern, to get first
Target indoor map, and the first object indoor map is shown, to realize the calling for pattern handoff functionality module.
It should be appreciated that after user carries out map styles selection, the target map pattern that will be selected based on user
The indoor map is rendered again, to get first object indoor map, and shows ground in the first object room
Figure, is also achieved that the switching of map style.
By rendering the indoor map again based on map styles in the present embodiment, it is easy to change indoor map
Map style;Meanwhile by map styles come change display configuration so that developer without bottom data is modified with
The change of display configuration is realized, also preferably improves operating efficiency.
Reference picture 9, Fig. 9 are the cross-platform indoor map display methods fourth embodiment of the invention based on two three-dimensional integratedization
Schematic flow sheet, based on first embodiment, second embodiment or 3rd embodiment, propose two three-dimensional integratedization of the invention across
The fourth embodiment of platform indoor map display methods, below to be illustrated based on first embodiment.
In the fourth embodiment, the step S60, is specifically included:
Step S601', the thermodynamic chart selection of user's input is received, from the indoor map extracting data current geographic position
Confidence ceases, and gathers personnel's distribution density information in the range of the current geographic position information, and personnel's distribution density is believed
Breath is accordingly labeled in the indoor map according to the current geographic position information, and the indoor map after mark is made
For the second target indoor map, and the second target indoor map is shown, to realize the calling for thermodynamic chart functional module.
It should be appreciated that personnel's distribution in body of a map or chart is visually known for the ease of related personnel, can be by described in
Personnel's distribution density information is accordingly labeled in the indoor map according to the current geographic position information.For example it can incite somebody to action
Indoor map is divided into a-quadrant, B area, C regions and D regions according to geographical location information, if the people collected in a-quadrant
Member's quantity is 30, can be labeled in 30 in a text form near the a-quadrant in indoor map;Certainly, conventional heat can also be passed through
The drafting mode tried hard to realizes mark, i.e., thermodynamic chart often show as by it is special it is highlighted in the form of show the map of visitor region
Color, can be shown in green by a-quadrant if the density of personnel of the unit area in a-quadrant is 2.Meanwhile conventional thermodynamic figure leads to
The difference of color is crossed to distinguish different density of personnel, so that the number of personnel amount intuitively shown, the present embodiment is not made to this
Limitation.
By the way that personnel's distribution density information is labeled in indoor map in the present embodiment, crowd point can be preferably shown
Cloth density so that user can intuitively know personnel's distribution situation in indoor map;Meanwhile by applying the indoor occupant
Thermodynamic chart, related management personnel can quickly respond the public accident such as personnel's dredging and emergency processing.
Reference picture 10, Figure 10 are that cross-platform indoor map display methods fiveth of the present invention based on two three-dimensional integratedization is implemented
The schematic flow sheet of example, based on first embodiment, second embodiment, 3rd embodiment or fourth embodiment, propose the present invention two
5th embodiment of the cross-platform indoor map display methods of three-dimensional integratedization, below to be illustrated based on first embodiment.
In the 5th embodiment, the step S60, specifically include:
Step S601 ", the floor handover information of user's input is received, current building is extracted from the floor handover information
Layer mark, extracts current floor map datum corresponding with current floor mark, to described from the indoor map
Current floor map datum is rendered, and with current floor map corresponding to acquisition, and the current floor map is shown, with reality
Referring now to the calling of floor handoff functionality module.
Continue the display interface of indoor three-dimensional map engine as shown in Figure 5, user can be switched to phase by actual demand
The floor answered, so as to improve the Consumer's Experience of indoor three-dimensional map engine.
Such as user can be switched when in face of complicated indoor three-dimensional map by floor, so as to only need to be absorbed in switching
Floor information, and the information of other floors will then be shown with fuzzy state, so as to can more highlight switching floor
Information.
By indoor three-dimensional map engine in the present embodiment, floor switching can be carried out, focuses on display the floor data of switching,
So as to improve Consumer's Experience.
Reference picture 11, Figure 11 are that cross-platform indoor map display methods sixth of the present invention based on two three-dimensional integratedization is implemented
The schematic flow sheet of example, based on first embodiment, second embodiment, 3rd embodiment, fourth embodiment or the 5th embodiment, is carried
Go out the sixth embodiment of the cross-platform indoor map display methods of two three-dimensional integratedization of the invention, below with based on first embodiment
Illustrate.
In the sixth embodiment, after the step S10, methods described also includes:
Step S101, from the indoor map extracting data data version information, by the data version information and in advance
If version information is matched, when the match is successful, step S20 is performed.
Indoor map engine loads map datum from network first, and data reduce the stream of data by the way of compression is encrypted
Amount and map datum security requirements, carry out verifying mandate and versions of data after map datum is received, guarantee smoothly
Map datum is parsed.
By the way that indoor map data are encrypted and verified with mandate in the present embodiment, so as to improve indoor map engine
The security of map datum in process chamber.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or system including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or system institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.Word first, second, with
Can be title by the Word Understanding and third use does not indicate that any order.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are these are only, are not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow conversion that bright specification and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (10)
1. the cross-platform indoor map display methods of a kind of two three-dimensional integratedization, it is characterised in that methods described includes following step
Suddenly:
Indoor map data are obtained, go out each floor maps data from the indoor map extracting data;
The data of different figure layers are loaded based on the layer management function in floor;
Realized based on WebGL technologies it is cross-platform, pass through indoor map Engine draws flow carry out map color applying drawing;
By setting two Three-dimensional Display parameters, to realize the two of engine map three-dimensional different display effects;
By preferentially drawing one floor data of display, and other floor datas are asynchronously shown, so as to reach the effect quickly shown
Fruit;
The functional module that engine provides according to the map, meet that user's indoor map shows demand.
2. the method as described in claim 1, it is characterised in that described that map is carried out based on indoor map Engine draws flow
Color applying drawing, specifically include:
The color applying drawing of map is carried out using default map styles based on indoor map Engine draws flow.
3. method as claimed in claim 2, it is characterised in that the default map styles include map background, atural object color,
Any one of communal facility picture and font style.
4. method as claimed any one in claims 1 to 3, it is characterised in that described to be based on indoor map Engine draws stream
The color applying drawing of Cheng Jinhang maps, is specifically included:
Map denotation engine is loaded, and carries out the color applying drawing of map based on WebGL technologies under HTML5 framework.
5. method as claimed any one in claims 1 to 3, it is characterised in that it is described by setting two Three-dimensional Display parameters,
To realize the two of engine map three-dimensional different display effects, specifically include:
Two Three-dimensional Display switchings are carried out by two Three-dimensional Display parameters, corresponding effect are shown according to switching result, so as to realize
Two three-dimensional integratedization.
6. method as claimed any one in claims 1 to 3, it is characterised in that the function that the engine according to the map provides
Module, specifically include:
The pattern of user's selection is received, target map pattern is extracted from the pattern;
The indoor map is rendered again based on the target map pattern, to get first object indoor map,
And the first object indoor map is shown, to realize the calling for pattern handoff functionality module.
7. method as claimed any one in claims 1 to 3, it is characterised in that the function that the engine according to the map provides
Module, specifically include:
The thermodynamic chart selection of user's input is received, from the indoor map extracting data current geographic position information, gathers institute
Personnel's distribution density information in the range of current geographic position information is stated, by personnel's distribution density information according to described current
Geographical location information is accordingly labeled in the indoor map, using the indoor map after mark as in the second target chamber
Map, and the second target indoor map is shown, to realize the calling for thermodynamic chart functional module.
8. method as claimed any one in claims 1 to 3, it is characterised in that the function that the engine according to the map provides
Module, specifically include:
The floor handover information of user's input is received, current floor mark is extracted from the floor handover information, from described
Current floor map datum corresponding with current floor mark is extracted in indoor map, to the current floor map number
According to being rendered, with current floor map corresponding to acquisition, and the current floor map is shown, switched with realizing for floor
The calling of functional module.
9. method as claimed any one in claims 1 to 3, it is characterised in that the indoor map data include floor figure
Layer, atural object figure layer, communal facility figure layer, text marking, picture mark, polygon figure layer, navigation spots, leading line, elevator information
Any one of with stair information.
10. method as claimed any one in claims 1 to 3, it is characterised in that the acquisition indoor map data, from institute
State indoor map extracting data to go out after each floor maps data, methods described also includes:
From the indoor map extracting data data version information, the data version information and default version information are carried out
Matching, when the match is successful, perform the step of layer management function based in floor loads the data of different figure layers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710788232.1A CN107644067A (en) | 2017-09-04 | 2017-09-04 | A kind of cross-platform indoor map display methods of two three-dimensional integratedization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710788232.1A CN107644067A (en) | 2017-09-04 | 2017-09-04 | A kind of cross-platform indoor map display methods of two three-dimensional integratedization |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107644067A true CN107644067A (en) | 2018-01-30 |
Family
ID=61110951
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710788232.1A Pending CN107644067A (en) | 2017-09-04 | 2017-09-04 | A kind of cross-platform indoor map display methods of two three-dimensional integratedization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107644067A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109783594A (en) * | 2019-01-09 | 2019-05-21 | 成都路行通信息技术有限公司 | A kind of construction method, the apparatus and system of vehicle thermodynamic chart |
CN110245206A (en) * | 2019-06-20 | 2019-09-17 | 腾讯科技(深圳)有限公司 | Acquisition methods, device, server, terminal and the storage medium of map styles |
CN110377215A (en) * | 2019-06-18 | 2019-10-25 | 深圳市思为软件技术有限公司 | Model display method, apparatus and terminal device |
CN110470302A (en) * | 2018-08-16 | 2019-11-19 | 深圳市道通智能航空技术有限公司 | Course line display methods, device and system, earth station and computer readable storage medium |
CN110779479A (en) * | 2019-09-02 | 2020-02-11 | 腾讯科技(深圳)有限公司 | Object processing method applied to indoor map |
CN111581323A (en) * | 2020-05-18 | 2020-08-25 | 中国科学院自动化研究所 | Two/three-dimensional geographic space display method and system |
CN111857136A (en) * | 2020-07-02 | 2020-10-30 | 珠海格力电器股份有限公司 | Target map processing method and device |
CN112016719A (en) * | 2020-08-31 | 2020-12-01 | 北京飞凡巧匠智能科技有限公司 | Intelligent medicine selling method |
CN112079214A (en) * | 2020-09-01 | 2020-12-15 | 日立楼宇技术(广州)有限公司 | Elevator waiting management system and control method thereof |
CN112565818A (en) * | 2020-11-30 | 2021-03-26 | 中国矿业大学(北京) | Two-three-dimensional integrated operation station platform construction method and electronic equipment |
CN112783996A (en) * | 2021-01-11 | 2021-05-11 | 重庆数地科技有限公司 | Method for synthesizing user-defined map tags in batch at front end |
CN112967371A (en) * | 2020-12-25 | 2021-06-15 | 北京东澳达科技有限公司 | Mobile-end three-dimensional engine system |
CN113611181A (en) * | 2021-07-09 | 2021-11-05 | 中国舰船研究设计中心 | Three-dimensional display method and device for virtual simulation scene |
CN114333413A (en) * | 2022-01-10 | 2022-04-12 | 成都四方伟业软件股份有限公司 | Three-dimensional visualization method and device based on parking lot |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103674017A (en) * | 2013-12-20 | 2014-03-26 | 广东瑞图万方科技股份有限公司 | Indoor electronic map generation system, indoor navigation method and system |
CN105183862A (en) * | 2015-09-11 | 2015-12-23 | 百度在线网络技术(北京)有限公司 | POI labeling method and device |
CN105575253A (en) * | 2014-10-16 | 2016-05-11 | 高德软件有限公司 | Indoor map generation method and apparatus thereof |
CN106407325A (en) * | 2016-08-31 | 2017-02-15 | 成都数联铭品科技有限公司 | Asynchronous loading-based associated target geographic information analysis and display method |
-
2017
- 2017-09-04 CN CN201710788232.1A patent/CN107644067A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103674017A (en) * | 2013-12-20 | 2014-03-26 | 广东瑞图万方科技股份有限公司 | Indoor electronic map generation system, indoor navigation method and system |
CN105575253A (en) * | 2014-10-16 | 2016-05-11 | 高德软件有限公司 | Indoor map generation method and apparatus thereof |
CN105183862A (en) * | 2015-09-11 | 2015-12-23 | 百度在线网络技术(北京)有限公司 | POI labeling method and device |
CN106407325A (en) * | 2016-08-31 | 2017-02-15 | 成都数联铭品科技有限公司 | Asynchronous loading-based associated target geographic information analysis and display method |
Non-Patent Citations (2)
Title |
---|
北京蜂鸟视图科技: ""蜂鸟云地图编辑器教学视频-1功能面板介绍"", 《优酷》 * |
驾校小白: ""室内三维地图引擎功能"", 《APICLOUD》 * |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110470302B (en) * | 2018-08-16 | 2021-09-21 | 深圳市道通智能航空技术股份有限公司 | Airline display method, apparatus and system, ground station, and computer-readable storage medium |
CN110470302A (en) * | 2018-08-16 | 2019-11-19 | 深圳市道通智能航空技术有限公司 | Course line display methods, device and system, earth station and computer readable storage medium |
CN109783594A (en) * | 2019-01-09 | 2019-05-21 | 成都路行通信息技术有限公司 | A kind of construction method, the apparatus and system of vehicle thermodynamic chart |
CN110377215A (en) * | 2019-06-18 | 2019-10-25 | 深圳市思为软件技术有限公司 | Model display method, apparatus and terminal device |
CN110377215B (en) * | 2019-06-18 | 2022-08-26 | 深圳市思为软件技术有限公司 | Model display method and device and terminal equipment |
CN110245206A (en) * | 2019-06-20 | 2019-09-17 | 腾讯科技(深圳)有限公司 | Acquisition methods, device, server, terminal and the storage medium of map styles |
CN110245206B (en) * | 2019-06-20 | 2023-08-25 | 腾讯科技(深圳)有限公司 | Map style acquisition method and device, server, terminal and storage medium |
CN110779479A (en) * | 2019-09-02 | 2020-02-11 | 腾讯科技(深圳)有限公司 | Object processing method applied to indoor map |
CN110779479B (en) * | 2019-09-02 | 2022-01-14 | 腾讯科技(深圳)有限公司 | Object processing method applied to indoor map |
CN111581323A (en) * | 2020-05-18 | 2020-08-25 | 中国科学院自动化研究所 | Two/three-dimensional geographic space display method and system |
CN111857136A (en) * | 2020-07-02 | 2020-10-30 | 珠海格力电器股份有限公司 | Target map processing method and device |
CN112016719A (en) * | 2020-08-31 | 2020-12-01 | 北京飞凡巧匠智能科技有限公司 | Intelligent medicine selling method |
CN112016719B (en) * | 2020-08-31 | 2024-02-20 | 北京飞凡巧匠智能科技有限公司 | Intelligent medicine selling method |
CN112079214A (en) * | 2020-09-01 | 2020-12-15 | 日立楼宇技术(广州)有限公司 | Elevator waiting management system and control method thereof |
CN112079214B (en) * | 2020-09-01 | 2022-09-06 | 日立楼宇技术(广州)有限公司 | Elevator waiting management system and control method thereof |
CN112565818A (en) * | 2020-11-30 | 2021-03-26 | 中国矿业大学(北京) | Two-three-dimensional integrated operation station platform construction method and electronic equipment |
CN112565818B (en) * | 2020-11-30 | 2022-01-11 | 中国矿业大学(北京) | Two-three-dimensional integrated operation station platform construction method and electronic equipment |
CN112967371A (en) * | 2020-12-25 | 2021-06-15 | 北京东澳达科技有限公司 | Mobile-end three-dimensional engine system |
CN112783996A (en) * | 2021-01-11 | 2021-05-11 | 重庆数地科技有限公司 | Method for synthesizing user-defined map tags in batch at front end |
CN113611181A (en) * | 2021-07-09 | 2021-11-05 | 中国舰船研究设计中心 | Three-dimensional display method and device for virtual simulation scene |
CN114333413A (en) * | 2022-01-10 | 2022-04-12 | 成都四方伟业软件股份有限公司 | Three-dimensional visualization method and device based on parking lot |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107644067A (en) | A kind of cross-platform indoor map display methods of two three-dimensional integratedization | |
US11042278B2 (en) | Providing graphical indication of label boundaries in digital maps | |
CN107833105B (en) | Shopping mall visual lease management method and system based on building information model | |
CN102508991B (en) | Method of constructing virtual experiment teaching scene based on image material | |
CN109446281B (en) | ArcGIS-based online intelligent mapping system construction method, system and mapping method | |
CN107153744B (en) | Underground three-dimensional pipeline decision making system | |
CN106408631A (en) | Three-dimensional macro display method and system | |
CN107610227A (en) | The preparation method of indoor three-dimensional map | |
CN110796712A (en) | Material processing method, device, electronic equipment and storage medium | |
CN114329695A (en) | BIM + MR construction management method based on HoloLens | |
CN110909439A (en) | AR-based assembly method and device and terminal | |
CN107357952A (en) | A kind of network automatic assembling and three-dimensional interaction method and system | |
CN109191590B (en) | Processing system and processing method for manufacturing virtual reality application | |
CN111368516A (en) | Visualized large-screen intelligent editing system | |
CN106445439B (en) | A kind of method of online exhibiting pictures | |
Pasewaldt et al. | Multi-perspective 3D panoramas | |
CN114359501B (en) | Configurable 3D visualization platform and scene construction method | |
CN115828633A (en) | Power distribution scene modeling method based on Unity3D | |
CN106846431B (en) | Unified Web graph drawing system supporting multiple expression forms | |
CN113536514A (en) | Data processing method, device, equipment and storage medium | |
CN113610963B (en) | Three-dimensional network topology drawing method, device, computing equipment and storage medium | |
CN117235395B (en) | Exhibit information display method, device, equipment and medium based on cloud platform | |
CN110990106B (en) | Data display method and device, computer equipment and storage medium | |
CN109783596B (en) | ArcGIS map configuration preview method based on Angular component | |
WO2023005934A1 (en) | Data processing method and system, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180130 |
|
RJ01 | Rejection of invention patent application after publication |