Whole home page
See below function:
1. The left corner of the page orientation function, and is not in the scenic spot will remind you: you currently not in scenic area, the top left-hand corner has a compass, can display the current front,
2. The home page can zoom in, drag, click a location can also have a pop-up box, see rendering:
3. Line planning, if you click on the "recommended circuit" below it will appear a route,
So, ladies and gentlemen, the problem is coming, let's first look at the front page of function is similar with the function of the map home page? 1) positioning function (2) have a zoom in (3) a line planning 4. Custom mark, can pop-up prompts, I started thinking, the scope of the scenic area according to the definition of a rectangle, located in the range can only can display the problem, this is no problem, route planning and the custom of mark is no problem, can use map implementation, the difficulty is the zoom function, because the donkey is guide the background behind the picture, and will zoom is a picture above, two pictures no problem, but have a problem on the map, map custom background is a question first, secondly if when positioning limits the four corners of the rectangle that the picture is, according to the four corners that couldn't be me this phone pictures can be above, but in the other screen size different phones when sliding can see map background above, dew trapped, so want to consult everybody have a good way to realize its function? Or is the home page is not based on the map?
Please advise, thanks.
CodePudding user response:
Some people view the posts?CodePudding user response:
Feeling is not map implementationA picture can handle, the view on some of the pictures (the headset icon) position is fixed on the images, zoom in on the picture is according to the zoom multiples to recalculate the coordinates to redraw,
Positioning function I guess the picture is a mapping coordinates and GPS information, can be reflected in the picture,
CodePudding user response:
Kurt: https://github.com/huyanghu/mappwidgetSummary: http://blog.csdn.net/wangyuetingtao/article/details/9173689
CodePudding user response: