Master
'
s Thesis 2006
FACHHOCHSCHULE
HOCHSCHULE F
U
R
LI Hui
STUTTGART
TECHNIK
The implementation
STUTTGART UNIVERSITY OF APPLIED
SCIENCES
But, only reduce the displaying size of SVG map is not enough. The client should
select only the displaying area where the users want to view, not necessary to load the
whole map file.
View
Space
Fig. 16:
Display area selection
Supposed that the user has input the coordinate of one point: pX and pY, the client
should calculate the selected area around this point according to the map scale, using
the same formulary (List. 8) to decide the view box location in the full area of map.
After those transformation and calculation, the size of map i.e. width and height of
SVG document were fixed as 240 and 320 (pixels) respectively, and the width and
height of viewBox were also set as 24000m x 32000m with map scale 1: 400000. See
Figure 17.
35
PHP MySql Web Hosting Design and Implement Client Applications PHP MySQL Hosting
|
|
|
|
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved. |