Page 1 of 1
Embeddable Nautical Charts
Posted: Tue Dec 29, 2009 11:11 am
by renoun
How difficult would it be to make a nautical chart viewer embeddable like you we have for Vimeo and Youtube?
Earth NC will generate embed code for you so say I could have posted a chart of Patos Is. I usually post a link to the map but an embedded map would contribute to the discussion when discussing new or unusual dive sites.
Re: Embeddable Nautical Charts
Posted: Tue Dec 29, 2009 11:17 am
by CaptnJack
I have taken screen shots of the NOAA chart viewer in the past, drawn on it in MSpaint, and finally uploaded it to photobucket. Its alot of work and apart from a few fellow boat oriented divers seems to be underutilized info. Those of us with boats generally know where/how to look. If it were easy breezy I would do it more just to elevate the general discussion beyond Sounder's "crop dusting".
Re: Embeddable Nautical Charts
Posted: Tue Dec 29, 2009 11:28 am
by spatman
check out the new "iframe" tag i just made:
Code: Select all
[iframe]http://earthnc.com/chartviewer/?ll=45.491,-122.805&z=12&chart=onechart[/iframe]
[iframe]
http://earthnc.com/chartviewer/?ll=45.4 ... t=onechart[/iframe]
Re: Embeddable Nautical Charts
Posted: Tue Dec 29, 2009 11:45 am
by renoun
spatman wrote:check out the new "iframe" tag i just made:
Code: Select all
[iframe]http://earthnc.com/chartviewer/?ll=45.491,-122.805&z=12&chart=onechart[/iframe]
Cool, I just can't seem to get the full embed to work until I manually cut out the frame size from the code it generates. Other than that it works fine and I am off to edit my post in the Patos Is. thread.
The full embed code I started with was
Code: Select all
<iframe src="http://earthnc.com/chartviewer/?em=1&ll=48.76954107968578,-122.84706115722656&z=12&chart=onechart" width="100%" height="600px"></iframe>
Code: Select all
[iframe]http://earthnc.com/chartviewer/?em=1&ll=48.76954107968578,-122.84706115722656&z=12&chart=onechart" width="100%" height="600px"[/iframe]
doesn't work but
Code: Select all
[iframe]http://earthnc.com/chartviewer/?em=1&ll=48.76954107968578,-122.84706115722656&z=12&chart=onechart[/iframe]
does work.
I guess it would have been easier to start out with their link function which generates
Code: Select all
http://earthnc.com/chartviewer/?ll=48.76954107968578,-122.84706115722656&z=12&chart=onechart
without me doing any work but embeds scroll bars with the chart.
[iframe]
http://earthnc.com/chartviewer/?em=1&ll ... t=onechart[/iframe]
Re: Embeddable Nautical Charts
Posted: Tue Dec 29, 2009 11:54 am
by CaptnJack
Wow there's quite a bit of diving in Beaverton :geek:
Re: Embeddable Nautical Charts
Posted: Tue Dec 29, 2009 11:56 am
by spatman
renoun wrote:spatman wrote:check out the new "iframe" tag i just made:
Code: Select all
[iframe]http://earthnc.com/chartviewer/?ll=45.491,-122.805&z=12&chart=onechart[/iframe]
I hope you didn't work too hard on that one. It didn't occur to me to just paste the code in.
nah, took 2 minutes. but you couldn't paste the code in without the tag.
Re: Embeddable Nautical Charts
Posted: Tue Dec 29, 2009 11:56 am
by spatman
CaptnJack wrote:Wow there's quite a bit of diving in Beaverton :geek:
ha, i wish.