Embeddable Nautical Charts

Need help with a site function? Looking for a how-to? Have a request for a new feature? Welcome to geekville.
Post Reply
User avatar
renoun
I've Got Gills
Posts: 1512
Joined: Sun Aug 31, 2008 3:43 pm

Embeddable Nautical Charts

Post 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.
"Just to be clear, doing the Diamond Knot requires at the minimum double IPAs to be DIR." - MattleyCrue
"Mmmm....... Oreos!
They didn't look too good when I was spitting in my mask for dive #2!" - cardiver
User avatar
CaptnJack
I've Got Gills
Posts: 7776
Joined: Fri Jul 07, 2006 2:29 pm

Re: Embeddable Nautical Charts

Post 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".
Sounder wrote:Under normal circumstances, I would never tell another man how to shave his balls... but this device should not be kept secret.
User avatar
spatman
I've Got Gills
Posts: 10881
Joined: Wed May 30, 2007 7:06 am

Re: Embeddable Nautical Charts

Post 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]
Image
User avatar
renoun
I've Got Gills
Posts: 1512
Joined: Sun Aug 31, 2008 3:43 pm

Re: Embeddable Nautical Charts

Post 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]
Last edited by renoun on Tue Dec 29, 2009 12:00 pm, edited 1 time in total.
"Just to be clear, doing the Diamond Knot requires at the minimum double IPAs to be DIR." - MattleyCrue
"Mmmm....... Oreos!
They didn't look too good when I was spitting in my mask for dive #2!" - cardiver
User avatar
CaptnJack
I've Got Gills
Posts: 7776
Joined: Fri Jul 07, 2006 2:29 pm

Re: Embeddable Nautical Charts

Post by CaptnJack »

Wow there's quite a bit of diving in Beaverton :geek:
Sounder wrote:Under normal circumstances, I would never tell another man how to shave his balls... but this device should not be kept secret.
User avatar
spatman
I've Got Gills
Posts: 10881
Joined: Wed May 30, 2007 7:06 am

Re: Embeddable Nautical Charts

Post 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.
Image
User avatar
spatman
I've Got Gills
Posts: 10881
Joined: Wed May 30, 2007 7:06 am

Re: Embeddable Nautical Charts

Post by spatman »

CaptnJack wrote:Wow there's quite a bit of diving in Beaverton :geek:
ha, i wish.
Image
Post Reply