|
|
#1 |
|
Prospect
Join Date: Feb 2005
Location: Lancaster PA
Posts: 45
|
Capture large GoogleMaps—code help, please
SIGNAL FLARE TO HTML/CODE GENIUSES!!!
Help with capturing LARGE Google Map images... I tried the tutorial at the link below, and followed it to the letter. http://www.dq.winsila.com/tips-trick...ogle-maps.html After saving the text file as "***.html" I try to open it in Firefox and all I see is the actual code. It doesn't open the big map in my browser window. JFI, I tried also after disabling the NoScript and AdBlock Plus extensions. I also made sure to allow java, javascript and pop-up windows in Firefox prefs...that's all I can figure out to do. Any help would be greatly appreciated. In case anyone can suss the problem just by looking at the code, here it is. I'm using Seinfeld's apartment address from the TV show as an example. I tried posting the code at first, but it stretched out all on one line...hence the screen shot of the code:
|
|
|
|
|
|
#2 |
|
League Commissioner
Join Date: Jan 2005
Posts: 8,361
|
Does it need to be done with a script?
Command-shift-4 works for me. |
|
|
|
|
|
#3 |
|
Prospect
Join Date: Feb 2005
Location: Lancaster PA
Posts: 45
|
I'm looking to grab BIG images. I know it's possible...I've seen the results, and know that it was done on a Mac.
Ummm...look at the (image of...) the code. Now, try to capture a 6,000pxW X 6000pxH GoogleMap using standard Mac OS screen capture commands. No can do. Thanks for playing, though! I appreciate your attempt!
|
|
|
|
|
|
#4 |
|
All Star
Join Date: Dec 2002
Location: NYC
Posts: 918
|
Did you do try to open it in Firefox from File -> Open File or just clicking on it?
I followed the directions and was able to open a map of the Seinfeld Diner (which is really horrible by the way - don't ever pay to eat there).
__________________
Many things are easier to break than to fix. - Craig R. Arko |
|
|
|
|
|
#5 |
|
League Commissioner
Join Date: Sep 2004
Location: Las Vegas
Posts: 5,875
|
Get info on the file and verify that is isn't actually titled "****.html.txt"
__________________
Las_Vegas -- Ts'i mahnu uterna ot twan ot geifur hingts uto. -- Sometimes I wonder… Why is that Frisbee getting Larger? …and then it hits me. -- Disposable thumbs make me specialer than most animals… |
|
|
|
|
|
#6 | |||||||||||||||||||||||
|
Prospect
Join Date: Feb 2005
Location: Lancaster PA
Posts: 45
|
Yes. Also tried double-clicking on it. Also tried dragging the file from my desktop to the URL/Location field. All I get is a text display of the code. Also tried opening it in Safari (4.x). No joy!
|
|||||||||||||||||||||||
|
|
|
|
|
#7 | |||||||||||||||||||||||
|
Prospect
Join Date: Feb 2005
Location: Lancaster PA
Posts: 45
|
Nope. It's an HTML file. As soon as I saved it initially out of TextEdit, it showed up on the desktop as Firefox document icon. If it was a text file, it would have generated a plain old dog-eared document icon. Besides, I always make the conscious choice to show extensions in file names. ALWAYS. This is a curious one. Apologies for what follows: Code:
<iframe width="6000" height="6000" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=129+W.+81st+Street+New+York+NY&sll=37.0625,-95.677068&sspn=43.393645,63.017578&ie=UTF8&hq=&hnear=129+W+81+St,+New+York,+10024&ll=40.783614,-73.97535&spn=0.000636,0.000962&t=h&z=20&output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&source=embed&hl=en&geocode=&q=129+W.+81st+Street+New+York+NY&sll=37.0625,-95.677068&sspn=43.393645,63.017578&ie=UTF8&hq=&hnear=129+W+81+St,+New+York,+10024&ll=40.783614,-73.97535&spn=0.000636,0.000962&t=h&z=20" style="color:#0000FF;text-align:left">View Larger Map</a></small> |
|||||||||||||||||||||||
|
|
|
|
|
#8 |
|
Prospect
Join Date: Feb 2005
Location: Lancaster PA
Posts: 45
|
I even tried browsers back to Mozilla 1.8.7 and Firefox 1.5.0.x.
No go there either. Just seeing code-as-text displayed in my browser windows. |
|
|
|
|
|
#9 |
|
League Commissioner
Join Date: Sep 2004
Location: Las Vegas
Posts: 5,875
|
Add <html> to the beginning of the file and </html> to the end.
__________________
Las_Vegas -- Ts'i mahnu uterna ot twan ot geifur hingts uto. -- Sometimes I wonder… Why is that Frisbee getting Larger? …and then it hits me. -- Disposable thumbs make me specialer than most animals… |
|
|
|
|
|
#10 |
|
Prospect
Join Date: Feb 2005
Location: Lancaster PA
Posts: 45
|
Added the <html> tags and it's STILL rendering as text!
Geez, Tom...I wonder what the heck you have config'ed differently on your system? |
|
|
|
|
|
#11 |
|
Hall of Famer
Join Date: Sep 2003
Location: Tokyo
Posts: 4,419
|
Google Maps is a very complex javascript-driven layered document - saving a plain html won't really do it. If you want to grab an arbitrarily-large image you will have to work out how to get the map slices from Google's server and reassemble them. Don't expect Google to be helpful here.
|
|
|
|
|
|
#12 |
|
League Commissioner
Join Date: Sep 2004
Location: Las Vegas
Posts: 5,875
|
The <html> tags worked perfectly in a new text file with your data in the previous posting. It worked in Safari, Firefox and even TextEdit!
__________________
Las_Vegas -- Ts'i mahnu uterna ot twan ot geifur hingts uto. -- Sometimes I wonder… Why is that Frisbee getting Larger? …and then it hits me. -- Disposable thumbs make me specialer than most animals… |
|
|
|
|
|
#13 |
|
Prospect
Join Date: Feb 2005
Location: Lancaster PA
Posts: 45
|
Since I can't seem to get this to wok in any version of any browser I have installed, I'm starting to think maybe there's something I have in ../Library/Internet Plug-Ins that might be preventing it.
I'm running OS X 10.4.11, and I regularly perform routine a maintenance using ONYX. Generally, performance is just fine, except for stuttery Flash-wrapped content (see my amateur analysis/bi‡ch about that here). Here's a screen shot of my system's Internet plugins...see anything that may be suspect? |
|
|
|
|
|
#14 | |||||||||||||||||||
|
Prospect
Join Date: Feb 2005
Location: Lancaster PA
Posts: 45
|
Solution found!
My pal James Dempsey from The Graphic Mac popped into my thread about this over at MacTech's forum and offered the following solution:
For practically ever, I've had TextEdit's preferences set to create all new documents in *.rtf (Rich Text Format). Command + Shift + T on the selected text makes the document Plain Text, and makes it work. Thanks to those here who participated...and help me thank James for getting it sussed by taking a jump over to his The Graphic Mac blog for "Tips, reviews & more on all things OSX & graphic design." |
|||||||||||||||||||
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|