How to embed NavigAIS into the user's document


Copy and paste the following code in your HTML page:



Optional Parameters:

● You can adjust the NavigAIS iframe window dimensions according to your needs (in absolute pixel or in percentage),
for ex. [width:"100%" height:"500"].

● 5 optional parameters are available to modify the call to NavigAIS:

1 - find=[str] (Display the map whose database title contains the string "str"), for ex.:

http://www3.pd.istc.cnr.it/navigais-web?find=botte
(Open the first map whose index contains the string "botte" [barrel])

2 - map=[xxxx] (display the map n. xxxx in the range [1-1705]), for ex.:

http://www3.pd.istc.cnr.it/navigais-web?map=1401
(Open the map n. 1401 at the first default inquiry location: Brigels)

3a - point=[yyy] (center the map in the yyy AIS point [0=Legend, 1-990]), for ex.:

http://www3.pd.istc.cnr.it/navigais-web?map=1434&point=336
(Open the map n. 1434 at the locality n. 336 - Ponte nelle Alpi)

3b - point=[x,y] (center the map at the x,y absolute coordinates in the range x=[1-10000] px, y=[1-13000] px, for ex.:

http://www3.pd.istc.cnr.it/navigais-web?map=1329&point=900,6000
(Center the map n. 1329 at the point x=900 px, y=6000 px)

3c - point=[x,y,w,h] (display a rectangular zone of the map with the left angle at x,y absolute px coordinates in the range x=[1-10000] px, y=[1-13000] px, and
w width and h height of the window in px in the range w=[1-10000], h=[1-13000], for ex.:

http://www3.pd.istc.cnr.it/navigais-web?map=1569&zoom=8&point=6400,12700,440,140
(Open the map n. 1569 centered on the point x=6400, y=12700, and draw a blue rectangle 440x140 px (to highlight for ex. a word placed off the map)

4a - loc=[location name] (location name is the inquiry location name, or part of the name).

http://www3.pd.istc.cnr.it/navigais-web?map=547&loc=Teolo
(Open the map n. 547 centered on Teolo)

4b - loc=[cardinal direction] (Center the map at the cardinal points: nw/northwest, nh/north, ne/northeast, we/west, ce/center, et/east, sw/southwest, sh/south, se/southeast).

http://www3.pd.istc.cnr.it/navigais-web?map=547&loc=nw
(Open the map n. 547 centered on the northwest quadrant)

5 -   zoom=[zoom factor] (0.1-40) to display the map.

http://www3.pd.istc.cnr.it/navigais-web?map=1329&point=2000,6000&zoom=10
(Open the map n. 1329 on the point x=2000, y=6000 with a zoom factor of 10x)