Home > Mobile >  About the donkey tour guide scenic spot homepage function implementation issues
About the donkey tour guide scenic spot homepage function implementation issues

Time:09-17

Recently, everybody is good, occasionally see a donkey trace the guide function of APP is novel, especially home page features of scenic spots, in line with hooking up the heart is fond of to achieve this effect, but with a few days didn't realize, what function can take a look at this scenic area home page first, (in jin temple scenic area as an example)
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 implementation
A 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/mappwidget
Summary: http://blog.csdn.net/wangyuetingtao/article/details/9173689

CodePudding user response:

refer to the second floor siyolatte response:
feel not map implementation
A 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 images,

Well is a train of thought

CodePudding user response:

The
reference 3 floor gengyang123 response:
library: https://github.com/huyanghu/mappwidget
Introduction: http://blog.csdn.net/wangyuetingtao/article/details/9173689

Line, thank you, I look at this

CodePudding user response:

A lot of places to see your message, I am also very curious about how to implement the

CodePudding user response:

refer to 6th floor u013658374 response:
a lot of places to see your message, I am also very curious about how to implement the
what do you do ah brothers, according to the lot upstairs to the demo, and see if I can do it, I am still in study

CodePudding user response:

The building Lord, you are now how do ah, I also want to do this, use mAppWidget, feel is too complex, oneself according to the coordinate calculation, there is always a bug

CodePudding user response:

What is the principle of the building Lord functions? Always feel is not a simple picture, scenery there is a stereo feeling

CodePudding user response:

references 9 f qq_36410974 response:
the function implementation principle is what? Always feel is not a simple picture, scenery there is a stereo feeling
the picture above is certainly a picture, as for the scenery have stereo feeling completely can draw out the effect

CodePudding user response:

Bosses realized? Now I also in fumble this cartoon map
  • Related