CN106485660B - Electronic map zooming method and device - Google Patents

Electronic map zooming method and device Download PDF

Info

Publication number
CN106485660B
CN106485660B CN201610859616.3A CN201610859616A CN106485660B CN 106485660 B CN106485660 B CN 106485660B CN 201610859616 A CN201610859616 A CN 201610859616A CN 106485660 B CN106485660 B CN 106485660B
Authority
CN
China
Prior art keywords
electronic map
places
determining
areas
place
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.)
Active
Application number
CN201610859616.3A
Other languages
Chinese (zh)
Other versions
CN106485660A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610859616.3A priority Critical patent/CN106485660B/en
Publication of CN106485660A publication Critical patent/CN106485660A/en
Application granted granted Critical
Publication of CN106485660B publication Critical patent/CN106485660B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/003Maps

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • User Interface Of Digital Computer (AREA)
  • Instructional Devices (AREA)

Abstract

The present disclosure relates to a method and a device for zooming an electronic map, wherein the method comprises the following steps: the method comprises the steps of determining to amplify at least two places on an electronic map, determining areas to be amplified corresponding to the at least two places, then amplifying the areas to be amplified corresponding to the at least two places at a first scaling rate, and scaling other areas except the areas to be amplified corresponding to the at least two places in the electronic map at a second scaling rate, wherein the first scaling rate is smaller than the second scaling rate. The method can zoom the same electronic map by using different zoom ratios, can zoom the places concerned by the user by using a smaller zoom ratio, and can zoom other areas in the electronic map by using a larger zoom ratio, so that the user can simultaneously see detailed information of two places with longer distances on the electronic map, and the user experience is greatly improved.

Description

Electronic map zooming method and device
Technical Field
The present disclosure relates to electronic map processing technologies, and in particular, to a method and an apparatus for zooming an electronic map.
Background
With the popularization of smart phones, more and more users use electronic maps on the mobile phones. An electronic map is a digital map that is a map digitally stored and referred to using computer technology. The electronic map may be zoomed in, zoomed out, or rotated at a preset zoom scale. In the existing electronic map, a unified zoom scale is used for zooming, if two places are quite far away from each other, the two places can be displayed on a screen only by adjusting the zoom scale to be extremely large, and the detailed positions of the two places cannot be displayed due to the fact that the zoom scale is too large. If detailed positions of two places are needed, the user needs to switch the map to different places and then respectively carry out enlarged display.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and an apparatus for zooming an electronic map.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for zooming an electronic map, including:
determining to zoom in on at least two places on the electronic map;
determining areas to be enlarged corresponding to the at least two places, wherein the areas to be enlarged corresponding to each place comprise the places corresponding to the areas to be enlarged;
and zooming the areas to be zoomed corresponding to the at least two places at a first zooming ratio, and zooming other areas except the areas to be zoomed corresponding to the at least two places in the electronic map at a second zooming ratio, wherein the first zooming ratio is smaller than the second zooming ratio.
Optionally, the determining to zoom in on at least two places on the electronic map includes:
when detecting that a user searches for at least two terminals logged in the same account on the electronic map, determining to amplify the places where the at least two terminals are located on the electronic map.
Optionally, the determining to zoom in on at least two places on the electronic map includes:
receiving at least two search places input by a user in the local zoom search bar;
determining to zoom in on the at least two search sites.
Optionally, the determining the region to be enlarged corresponding to the at least two places includes:
and determining the area to be amplified corresponding to each place according to a preset determination rule by taking each place as a central coordinate.
Optionally, the determining the region to be enlarged corresponding to the at least two places includes:
detecting a graph containing each place drawn on the electronic map by a user;
and determining the area containing the graph of each place as the area to be amplified corresponding to each place.
Optionally, the determining the region to be enlarged corresponding to the at least two places includes:
popping up an amplification frame containing each place on the electronic map;
and determining the amplifying frame as the area to be amplified corresponding to each place.
According to a second aspect of the embodiments of the present disclosure, there is provided a zoom apparatus of an electronic map, including:
a first determination module configured to determine to zoom in on at least two locations on an electronic map;
the second determination module is configured to determine to-be-amplified regions corresponding to the at least two places, wherein the to-be-amplified region corresponding to each place comprises the place corresponding to the to-be-amplified region;
the zooming module is configured to zoom in the areas to be zoomed in corresponding to the at least two places at a first zooming ratio and zoom in other areas except the areas to be zoomed in corresponding to the at least two places in the electronic map at a second zooming ratio, wherein the first zooming ratio is smaller than the second zooming ratio.
Optionally, the first determining module includes:
the first determining submodule is configured to determine to amplify the places where the at least two terminals on the electronic map are located when it is detected that the user searches for the at least two terminals logged in the same account on the electronic map.
Optionally, the first determining module includes:
a first receiving sub-module configured to receive at least two search places input by a user in the locally zoomed search bar;
a second determination submodule configured to determine to zoom in on the at least two search locations.
Optionally, the second determining module includes:
and the third determining submodule is configured to determine the area to be enlarged corresponding to each place according to a preset determining rule by taking each place as a central coordinate.
Optionally, the second determining module includes:
a detection sub-module configured to detect a graphic containing the each place drawn on the electronic map by a user;
and the fourth determining submodule is configured to determine the area containing the graph of each place as the area to be amplified corresponding to each place.
Optionally, the second determining module includes:
a display sub-module configured to pop up an enlargement box containing the each place on the electronic map;
and the fifth determining submodule is configured to determine that the amplification frame is the region to be amplified corresponding to each place.
According to a third aspect of the embodiments of the present disclosure, there is provided a zoom apparatus of an electronic map, including:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to:
determining to zoom in on at least two places on the electronic map;
determining areas to be enlarged corresponding to the at least two places, wherein the areas to be enlarged corresponding to each place comprise the places corresponding to the areas to be enlarged;
and zooming the areas to be zoomed corresponding to the at least two places at a first zooming ratio, and zooming other areas except the areas to be zoomed corresponding to the at least two places in the electronic map at a second zooming ratio, wherein the first zooming ratio is smaller than the second zooming ratio.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method comprises the steps of determining to amplify at least two places on an electronic map, determining areas to be amplified corresponding to the at least two places, then amplifying the areas to be amplified corresponding to the at least two places at a first scaling rate, and scaling other areas except the areas to be amplified corresponding to the at least two places in the electronic map at a second scaling rate, wherein the first scaling rate is smaller than the second scaling rate. The method can zoom the same electronic map by using different zoom ratios, can zoom the places concerned by the user by using a smaller zoom ratio, and can zoom other areas in the electronic map by using a larger zoom ratio, so that the user can simultaneously see detailed information of two places with longer distances on the electronic map, and the user experience is greatly improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a method of zooming an electronic map according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a method of zooming of an electronic map according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a method of zooming of an electronic map according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating a method of zooming of an electronic map according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a scaling apparatus of an electronic map according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a scaling apparatus of an electronic map according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a scaling apparatus of an electronic map according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a scaling apparatus of an electronic map according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating a scaling apparatus of an electronic map according to an exemplary embodiment.
Fig. 10 is a block diagram illustrating a scaling apparatus of an electronic map according to an exemplary embodiment.
Fig. 11 is a block diagram illustrating a zooming apparatus of an electronic map according to an exemplary embodiment.
Fig. 12 is a block diagram illustrating a scaling apparatus of an electronic map according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a zooming method of an electronic map, which is performed by a terminal in which the electronic map is installed, according to an exemplary embodiment, and the zooming method of the electronic map, as illustrated in fig. 1, includes the following steps.
In step S101, it is determined that at least two spots on the electronic map are enlarged.
In one implementation mode, when it is detected that a user searches for at least two terminals logged in to the same account on an electronic map, the location where the at least two terminals on the electronic map are located is determined to be amplified. For example, a mobile phone and a tablet computer of a user log in the same account, and the user needs to search the location of the mobile phone and the tablet computer on a map, so that the user can input the same account on the electronic map for searching, and the user wants to display the location of the mobile phone and the tablet computer on the electronic map at the same time.
In another implementation, at least two search places input by a user in a local zoom search bar are received, and the at least two search places are determined to be enlarged. In this embodiment, the electronic map can provide a local zoom function, where the local zoom function means that only a certain area on the electronic map can be zoomed, and other areas are not zoomed, or other areas are zoomed at a different zoom ratio from the area. The local zoom function is mainly to simultaneously display detailed information of at least two places that are distant from each other on the electronic map.
In step S102, regions to be enlarged corresponding to at least two locations are determined, where the region to be enlarged corresponding to each location includes the location corresponding to the region to be enlarged.
In this embodiment, the to-be-amplified region corresponding to each location includes the location, for example, the location input by the user is an a cell, and the to-be-amplified region corresponding to the a cell may be a street where the a cell is located, or may be a region of 1 km or 2 km around the a cell.
In one implementation, each location is used as a central coordinate, and a region to be enlarged corresponding to each location is determined according to a preset determination rule.
In another implementation manner, a user determines a region to be magnified corresponding to each location, the user can draw a graph containing each location on an electronic map, and the terminal determines the region where the graph containing each location is located as the region to be magnified corresponding to each location.
In another implementation manner, the terminal pops up an enlargement frame containing each place on the electronic map, and determines that the enlargement frame is determined as an area to be enlarged corresponding to each place.
In step S103, the areas to be enlarged corresponding to the at least two locations are enlarged at a first scaling rate, and other areas except the areas to be enlarged corresponding to the at least two locations in the electronic map are enlarged at a second scaling rate, where the first scaling rate is smaller than the second scaling rate.
In this embodiment, the whole electronic map is not zoomed at the same zoom scale, but the to-be-zoomed regions corresponding to the at least two locations are zoomed at the first zoom scale, and the other regions except the to-be-zoomed regions corresponding to the at least two locations in the electronic map are zoomed in or zoomed out at the second zoom scale. The first zoom scale is smaller than the second zoom scale, and for the electronic map, the smaller the zoom scale, the closer the zoomed map is to the actual map, and the more detailed the map is seen by the user. The areas to be zoomed corresponding to the at least two places amplified by the first scale usually need to be capable of distinguishing streets with many places and surrounding environments of a user, the second scaling can be adjusted according to the size of a terminal screen, if the screen is large, other areas can be amplified, and if the screen is small, other areas can be not scaled, and other areas can also be reduced.
The method of the embodiment is particularly suitable for two places far away from each other, and if two places are to be displayed in the screen of the terminal at the same time in the prior art, a large scaling ratio is required, and the detailed information of the two places cannot be displayed due to the large scaling ratio. By the method of the embodiment, the areas where the two places are located can be enlarged by adopting a smaller scaling ratio, so that the user can simultaneously zoom the detailed information of the two places, and other areas which are not concerned by the user are zoomed by a larger scaling ratio.
In this embodiment, at least two places on the electronic map are determined to be enlarged, regions to be enlarged corresponding to the at least two places are determined, the regions to be enlarged corresponding to the at least two places are enlarged at a first scaling, and other regions in the electronic map except the regions to be enlarged corresponding to the at least two places are enlarged at a second scaling, where the first scaling is smaller than the second scaling. The method can zoom the same electronic map by using different zoom ratios, can zoom the places concerned by the user by using a smaller zoom ratio, and can zoom other areas in the electronic map by using a larger zoom ratio, so that the user can simultaneously see detailed information of two places with longer distances on the electronic map, and the user experience is greatly improved.
Fig. 2 is a flowchart illustrating a zooming method of an electronic map according to an exemplary embodiment, and as shown in fig. 2, the zooming method of the electronic map includes the following steps.
In step S201, when it is detected that the user searches for at least two terminals logged in the same account on the electronic map, it is determined to zoom in on the location where the at least two terminals on the electronic map are located.
In step S202, the area to be enlarged corresponding to each location is determined according to a preset determination rule with each location as a center coordinate.
The preset determination rule is, for example, coordinates with each location as a center to form a rectangular region to be magnified, which is X meters long and Y meters wide. Or, a circular area to be enlarged with the radius of M meters is formed by taking each place as a central coordinate. Or, forming a region to be enlarged along the shape of the street where the place is located with each place as a center coordinate. Here, the description is only an example, and the region to be enlarged corresponding to each location may also be determined in other manners as long as the determined region to be enlarged includes the location.
In step S203, the areas to be enlarged corresponding to the at least two locations are enlarged at a first scaling rate, and other areas except the areas to be enlarged corresponding to the at least two locations in the electronic map are enlarged at a second scaling rate, where the first scaling rate is smaller than the second scaling rate.
In this embodiment, when it is detected that a user searches for at least two terminals logged in to the same account on an electronic map, it is determined to amplify locations where the at least two terminals on the electronic map are located, then, with each location as a center coordinate, a region to be amplified corresponding to each location is determined according to a preset determination rule, the regions to be amplified corresponding to the at least two locations are amplified at a first scaling, and other regions in the electronic map except for the regions to be amplified corresponding to the at least two locations are scaled at a second scaling, where the first scaling is smaller than the second scaling. The method can zoom the places where the at least two terminals concerned by the user are located at a smaller zoom ratio, and zoom other areas in the electronic map at a larger zoom ratio, so that the user can see detailed information of the places where the at least two terminals are located on the electronic map at the same time, and user experience is greatly improved.
Fig. 3 is a flowchart illustrating a zooming method of an electronic map according to an exemplary embodiment, which includes the following steps, as shown in fig. 3.
In step S301, at least two search places input by a user in a locally zoomed search bar are received.
A local zoom option is set on the electronic map, a user opens a local zoom search bar by clicking the local zoom option, and then at least two search places needing to be searched are input in the local zoom search bar.
In step S302, it is determined that at least two search places are enlarged.
In step S303, a graphic containing each place drawn on the electronic map by the user is detected.
After a user inputs a search place, the user is prompted to draw an area to be magnified on the electronic map, and the electronic map is generally applied to an intelligent device with a touch screen, so that for each place, the user can draw a rectangle, a circle and the like on the electronic map by fingers and the shape of the place is included. If the electronic map is applied to a computer, a shape containing each location can be drawn by a mouse.
In step S304, the region where the graph including each location is located is determined as the region to be enlarged corresponding to each location.
It should be noted that, if the area to be enlarged is too large, the detailed information of at least two places cannot be displayed in the screen of the terminal at the same time after the area to be enlarged is enlarged by the first scaling, so that the terminal can also automatically adjust the shape drawn by the user to adjust the area to be enlarged to an appropriate size.
In step S305, the area to be enlarged corresponding to the at least two locations is enlarged at a first scaling rate, and the other areas except the area to be enlarged corresponding to the at least two locations in the electronic map are enlarged at a second scaling rate, where the first scaling rate is smaller than the second scaling rate.
In this embodiment, at least two search places input by a user in a local zoom search bar are received, it is determined to zoom in the at least two search places, then a graph drawn by the user on an electronic map and including each place is detected, an area where the graph including each place is located is determined as an area to be zoomed corresponding to each place, the area to be zoomed corresponding to the at least two places is zoomed at a first zoom ratio, and other areas except the area to be zoomed corresponding to the at least two places in the electronic map are zoomed at a second zoom ratio, where the first zoom ratio is smaller than the second zoom ratio. The method can zoom at least two search places concerned by the user with a smaller zoom scale, and zoom other areas in the electronic map with a larger zoom scale, so that the user can see the detailed information of the at least two search places on the electronic map at the same time, and the user experience is greatly improved.
Fig. 4 is a flowchart illustrating a zooming method of an electronic map, according to an exemplary embodiment, as shown in fig. 4, the zooming method of the electronic map includes the following steps.
In step S401, at least two search places input by the user in the locally zoomed search bar are received.
In step S402, it is determined that at least two search places are enlarged.
In step S403, an enlargement box containing each spot is popped up on the electronic map.
In step S404, the enlargement frame is determined as the region to be enlarged corresponding to each location.
And after seeing the amplifying frame, the user clicks a search button, and the terminal determines the amplifying frame as the area to be amplified corresponding to each place. Optionally, the user may also adjust the position and size of the zoom-in frame, and click a search button after adjusting to a suitable size and position, and the terminal determines that the adjusted zoom-in frame is the region to be zoomed in corresponding to each location.
In step S405, the areas to be enlarged corresponding to the at least two locations are enlarged at a first scaling rate, and other areas except the areas to be enlarged corresponding to the at least two locations in the electronic map are enlarged at a second scaling rate, where the first scaling rate is smaller than the second scaling rate.
In this embodiment, at least two search places input by a user in a local zoom search bar are received, it is determined to zoom in the at least two search places, then an enlargement frame including each place pops up on an electronic map, it is determined that the enlargement frame is a region to be enlarged corresponding to each place, the region to be enlarged corresponding to the at least two places is enlarged at a first zoom ratio, and other regions except the region to be enlarged corresponding to the at least two places in the electronic map are zoomed at a second zoom ratio, where the first zoom ratio is smaller than the second zoom ratio. The method can zoom at least two search places concerned by the user with a smaller zoom scale, and zoom other areas in the electronic map with a larger zoom scale, so that the user can see the detailed information of the at least two search places on the electronic map at the same time, and the user experience is greatly improved.
Fig. 5 is a block diagram illustrating a zooming apparatus of an electronic map according to an exemplary embodiment, and as shown in fig. 5, the zooming apparatus of the electronic map of the present embodiment includes: a first determining module 11, a second determining module 12 and a scaling module 13.
The first determining module 11 is configured to determine to zoom in at least two places on the electronic map;
a second determining module 12, configured to determine to-be-enlarged regions corresponding to the at least two locations, where the to-be-enlarged region corresponding to each location includes a location corresponding to the to-be-enlarged region;
the zooming module 13 is configured to zoom in the to-be-zoomed areas corresponding to the at least two locations at a first zooming ratio, and zoom in other areas of the electronic map except the to-be-zoomed areas corresponding to the at least two locations at a second zooming ratio, where the first zooming ratio is smaller than the second zooming ratio.
Fig. 6 is a block diagram illustrating a zooming apparatus of an electronic map according to an exemplary embodiment, and as shown in fig. 6, the apparatus of this embodiment is based on the apparatus shown in fig. 5, and the first determining module 11 includes:
the first determining submodule 111 is configured to determine to zoom in places where at least two terminals on the electronic map are located when it is detected that a user searches for the at least two terminals logged in the same account on the electronic map.
Fig. 7 is a block diagram illustrating a zooming apparatus of an electronic map according to an exemplary embodiment, and as shown in fig. 7, the apparatus of this embodiment is based on the apparatus shown in fig. 5, and the first determining module 11 includes:
a first receiving sub-module 112 configured to receive at least two search places input by a user in the locally zoomed search bar;
a second determination submodule 113 configured to determine to enlarge the at least two search places.
Fig. 8 is a block diagram illustrating a zooming apparatus of an electronic map according to an exemplary embodiment, and as shown in fig. 8, the apparatus of this embodiment is based on the apparatus shown in fig. 5, and the second determining module 12 includes:
the third determining submodule 121 is configured to determine, by taking each of the locations as a central coordinate, a region to be enlarged corresponding to each of the locations according to a preset determining rule.
Fig. 9 is a block diagram illustrating a zooming apparatus of an electronic map according to an exemplary embodiment, and as shown in fig. 9, the apparatus of this embodiment is based on the apparatus shown in fig. 5, and the second determining module 12 includes:
a detection sub-module 122 configured to detect a graphic containing the each location drawn on the electronic map by the user;
the fourth determining submodule 123 is configured to determine an area where the graph including each location is located as an area to be enlarged corresponding to each location.
Fig. 10 is a block diagram illustrating a zooming apparatus of an electronic map according to an exemplary embodiment, and as shown in fig. 10, the apparatus of this embodiment is based on the apparatus shown in fig. 5, and the second determining module 12 includes:
a display sub-module 124 configured to pop up an enlarged box containing the each place on the electronic map;
a fifth determining submodule 125 configured to determine that the enlargement frame is the area to be enlarged corresponding to each of the places.
Fig. 11 is a block diagram illustrating a zooming apparatus of an electronic map according to an exemplary embodiment, and as shown in fig. 11, the zooming apparatus 200 of the electronic map includes: a processor 21 and a memory 22 for storing instructions executable by the processor 21, the memory 22 being coupled to and in communication with the processor 21 via a system bus.
Wherein the processor 21 is configured to:
determining to zoom in on at least two places on the electronic map;
determining areas to be enlarged corresponding to the at least two places, wherein the areas to be enlarged corresponding to each place comprise the places corresponding to the areas to be enlarged;
and zooming the areas to be zoomed corresponding to the at least two places at a first zooming ratio, and zooming other areas except the areas to be zoomed corresponding to the at least two places in the electronic map at a second zooming ratio, wherein the first zooming ratio is smaller than the second zooming ratio.
It should be understood that in the above embodiments, the processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the aforementioned memory may be a read-only memory (ROM), a Random Access Memory (RAM), a flash memory, a hard disk, or a solid state disk. The steps of a method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
Fig. 12 is a block diagram illustrating a scaling apparatus 800 of an electronic map according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 12, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described scaling method of the electronic maps shown in fig. 1 to 4.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the apparatus 800 to perform the method of zooming the electronic map shown in fig. 1-4 described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a zooming apparatus of an electronic map, enable the zooming apparatus of the electronic map to perform the zooming method of the electronic map shown in fig. 1 to 4.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (9)

1. A zooming method of an electronic map is characterized by comprising the following steps:
determining to zoom in on at least two places on the electronic map;
determining areas to be enlarged corresponding to the at least two places, wherein the areas to be enlarged corresponding to each place comprise the places corresponding to the areas to be enlarged;
amplifying the areas to be amplified corresponding to the at least two places at a first scaling rate, and scaling other areas except the areas to be amplified corresponding to the at least two places in the electronic map at a second scaling rate, wherein the first scaling rate is smaller than the second scaling rate;
the determining to zoom in on at least two locations on the electronic map includes:
when detecting that a user searches for at least two terminals logged in the same account on the electronic map, determining to amplify the places where the at least two terminals are located on the electronic map.
2. The method according to claim 1, wherein the determining the region to be enlarged corresponding to the at least two locations comprises:
and determining the area to be amplified corresponding to each place according to a preset determination rule by taking each place as a central coordinate.
3. The method according to claim 1, wherein the determining the region to be enlarged corresponding to the at least two locations comprises:
detecting a graph containing each place drawn on the electronic map by a user;
and determining the area containing the graph of each place as the area to be amplified corresponding to each place.
4. The method according to claim 1, wherein the determining the region to be enlarged corresponding to the at least two locations comprises:
popping up an amplification frame containing each place on the electronic map;
and determining the amplifying frame as the area to be amplified corresponding to each place.
5. An apparatus for zooming an electronic map, comprising:
a first determination module configured to determine to zoom in on at least two locations on an electronic map;
the second determination module is configured to determine to-be-amplified regions corresponding to the at least two places, wherein the to-be-amplified region corresponding to each place comprises the place corresponding to the to-be-amplified region;
the zooming module is configured to zoom in areas to be zoomed in corresponding to the at least two places at a first zooming ratio and zoom in other areas except the areas to be zoomed in corresponding to the at least two places in the electronic map at a second zooming ratio, wherein the first zooming ratio is smaller than the second zooming ratio;
the first determining module includes:
the first determining submodule is configured to determine to amplify the places where the at least two terminals on the electronic map are located when it is detected that the user searches for the at least two terminals logged in the same account on the electronic map.
6. The apparatus of claim 5, wherein the second determining module comprises:
and the third determining submodule is configured to determine the area to be enlarged corresponding to each place according to a preset determining rule by taking each place as a central coordinate.
7. The apparatus of claim 5, wherein the second determining module comprises:
a detection sub-module configured to detect a graphic containing the each place drawn on the electronic map by a user;
and the fourth determining submodule is configured to determine the area containing the graph of each place as the area to be amplified corresponding to each place.
8. The apparatus of claim 5, wherein the second determining module comprises:
a display sub-module configured to pop up an enlargement box containing the each place on the electronic map;
and the fifth determining submodule is configured to determine that the amplification frame is the region to be amplified corresponding to each place.
9. An apparatus for zooming an electronic map, comprising:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to:
determining to zoom in on at least two places on the electronic map;
determining areas to be enlarged corresponding to the at least two places, wherein the areas to be enlarged corresponding to each place comprise the places corresponding to the areas to be enlarged;
amplifying the areas to be amplified corresponding to the at least two places at a first scaling rate, and scaling other areas except the areas to be amplified corresponding to the at least two places in the electronic map at a second scaling rate, wherein the first scaling rate is smaller than the second scaling rate;
the determining to zoom in on at least two locations on the electronic map includes:
when detecting that a user searches for at least two terminals logged in the same account on the electronic map, determining to amplify the places where the at least two terminals are located on the electronic map.
CN201610859616.3A 2016-09-28 2016-09-28 Electronic map zooming method and device Active CN106485660B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610859616.3A CN106485660B (en) 2016-09-28 2016-09-28 Electronic map zooming method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610859616.3A CN106485660B (en) 2016-09-28 2016-09-28 Electronic map zooming method and device

Publications (2)

Publication Number Publication Date
CN106485660A CN106485660A (en) 2017-03-08
CN106485660B true CN106485660B (en) 2020-01-10

Family

ID=58268212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610859616.3A Active CN106485660B (en) 2016-09-28 2016-09-28 Electronic map zooming method and device

Country Status (1)

Country Link
CN (1) CN106485660B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107274344B (en) * 2017-06-05 2020-10-23 上海蔚来汽车有限公司 Map zooming method and system based on resource distribution, memory and control equipment
CN112801869A (en) * 2017-06-19 2021-05-14 北京嘀嘀无限科技发展有限公司 Method, system, terminal and computer equipment for zooming map
CN109559361B (en) * 2018-10-23 2023-11-28 高新兴科技集团股份有限公司 Android-based irregular area vector diagram dynamic detection method and device
CN110779515A (en) * 2019-10-31 2020-02-11 北京地平线机器人技术研发有限公司 Display method and device of electronic navigation map, electronic equipment and storage medium
WO2021102939A1 (en) * 2019-11-29 2021-06-03 深圳市大疆创新科技有限公司 Image processing method and device
CN113721818B (en) * 2021-09-02 2022-08-09 北京城市网邻信息技术有限公司 Image processing method, device, equipment and computer readable storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002287868A (en) * 2001-03-27 2002-10-04 Sony Corp Information processor, its display control method, program and providing medium
KR101007798B1 (en) * 2003-12-08 2011-01-14 엘지전자 주식회사 Method for scaling part of main picture in digital broadcasting receiver
EP1725927A4 (en) * 2004-02-23 2007-12-26 Hillcrest Lab Inc Method of real-time incremental zooming
JP4356594B2 (en) * 2004-11-22 2009-11-04 ソニー株式会社 Display device, display method, display program, and recording medium on which display program is recorded
CN101325697A (en) * 2007-12-14 2008-12-17 北京大学软件与微电子学院 Method for rapidly browsing remote sensing image of hand-hold equipment
CN103117024B (en) * 2011-11-17 2015-08-05 上海市测绘院 A kind of method of sectional map distortion
US20130147841A1 (en) * 2011-12-08 2013-06-13 Microsoft Corporation Interactive navigation and view selection in digital cartography
CN102800048B (en) * 2012-07-06 2015-11-25 广州亿程交通信息有限公司 A kind of display packing of electronic chart convergent-divergent
CN104463873B (en) * 2014-12-10 2017-11-07 西安电子科技大学 A kind of image object method for relocating scaled based on local uniform

Also Published As

Publication number Publication date
CN106485660A (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN106485660B (en) Electronic map zooming method and device
RU2625948C2 (en) Method for application superscript adding and device
US20180046336A1 (en) Instant Message Processing Method and Apparatus, and Storage Medium
EP3232340A1 (en) Method for operating a display device and display device for displaying pages of an application program
JP6464261B2 (en) Method and apparatus for displaying response extensions
CN109600303B (en) Content sharing method and device and storage medium
EP3147802B1 (en) Method and apparatus for processing information
CN106802741B (en) Method and device for determining screen edge touch event and mobile terminal
CN106354504B (en) Message display method and device
KR101758030B1 (en) Method and device, program and recording medium for processing information
CN106547461B (en) Operation processing method, device and equipment
US20200034900A1 (en) Method and apparatus for displaying commodity
CN107635074B (en) Method, apparatus and computer-readable storage medium for controlling alarm
EP3462367B1 (en) Method and apparatus for displaying application interface
EP2921969A1 (en) Method and apparatus for centering and zooming webpage and electronic device
JP2017504915A (en) Matter content display method, apparatus, program, and recording medium
CN109769191B (en) Audio output detection method and device and electronic equipment
JP6076543B2 (en) LOCATION METHOD, DEVICE, PROGRAM, AND RECORDING MEDIUM
CN107656616B (en) Input interface display method and device and electronic equipment
CN106919302B (en) Operation control method and device of mobile terminal
CN106445376B (en) Webpage operation method and device
CN106506808B (en) Method and device for prompting communication message
CN105955637B (en) Method and device for processing text input box
CN105260088B (en) Information classification display processing method and device
CN106569697B (en) Picture viewing method and device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant