主权项 |
1. A method comprising:
identifying, by a portable electronic handheld device, coordinates of a current location of the portable electronic handheld device; based on the coordinates, querying, by the portable electronic handheld device, a server for an availability at the server of a map of the current location of the portable electronic handheld device; receiving, for a case that it is determined that no map of the current location is available at the server, via a client application of the portable electronic handheld device, instructions to perform scanning during a motion, by the portable electronic handheld device, the current location of the portable electronic handheld device, where the scanning is using an image capture device of the portable electronic handheld device during the motion determined by at least one of accelerometer and gyroscope of the portable electronic handheld device, wherein the determined motion of the portable electronic handheld device comprises at least one of a circular motion, a semi-circular motion and a straight motion of the portable electronic handheld device at the location; based on the scanning using the image capture device and the motion, building, by the client application of the portable electronic handheld device, a map of the location, wherein the map is segmented as a grid layout, wherein at least a shape of the grid layout of the map is changed with a user interface of the client application by placing tiles of different tile types into the grid layout; displaying, by the portable electronic handheld device, the built map on a display of the portable electronic handheld device; and uploading information of the segmented map to the server, wherein the information comprises the segmented map and grid coordinate vectors which identify the location of the portable electronic handheld device on the segmented map, and wherein the uploaded information is made available to other portable electronic handheld devices via the server. |