Making of zoomable webpage?

J

JFWL

I´m starting to work with webpage where the front page is a map. It's should
be able to zoom in and out somehow so the visitors can zoom the map in if
needed. Is this in some way possible? And the map is now in pdf format.

Using Vista and publisher 2007.

Johannes
 
D

DavidF

PDF files are zoomable in the Adobe Reader and the Foxit pdf reader which I
prefer. If you have converted the pdf map into an image and then inserting
that, then all browsers also can be zoomed. What other functionality are you
looking for that is not already available? I don't understand.

DavidF
 
D

Don Schmidt

You could add a note on your web page to use Ctrl + keys to zoom in and
Ctrl - keys to zoom out.
 
G

GeoffreyChaucer

With a little knowledge of HTML, you could call up a Google zoomable map in
an iframe, rather than zooming the whole page.

I am too clumsy to explain to you how to do this, but I'm sure that David or
Don could.
 
J

JFWL

I should add markings to the map with hyperlinks. Then when you click ex. a
star symbol it will open a new page where is explained what you find from
there etc.
Also when you zoom in the map will be more accurate and road and place names
will show up.
There is a lot of free map and routing pages where you can zoom in to get
more details from the map. This should be similar with hyperlinks and own
symbols.

Johannes


"DavidF" kirjoitti:
 
D

DavidF

You might be asking too much. Publisher produces static pages and generally
if you want the dynamic functionality you are seeking, then most people will
use other programs. However you might be able to accomplish some of these
things.

Google maps provides code snippets that you can insert into your Publisher
pages via the insert html code fragment feature. On a basic level that
should give you a static map that is generated by Google. However in order
to get that map to zoom you would probably need to use an I-frame and import
the map. And if you got that to work, I don't know that Google Maps has the
option of adding the star symbols that link to other web pages... I would go
to Google Maps, Mapquest and the Bing maps and read about the options
available to you.

Alternatively you could have a static image of a map that you insert into
your page, and then add the star symbols that are "hot linked" to the other
pages. But now you would not have the zooming capability. But you could
just provide a link to the Google map and have it open in a new window if
the viewer wished to zoom. You could find the "star locations" in Google
maps and then use a "hot link" or insert it into a star image to that map to
take your viewer to the Google map with the location marked. Create a
different Google map for each starred location.

Bottom line is there is no easy way to do what you are asking and you will
just have to experiment to see what you can come up with. Part of the issue
is that I do not know what capabilities the Google Maps and other mapping
sites offer these days, nor do I have the time to research those options. I
insert static map images from Google or Bing maps and then provide a link to
that map on the Google or Bing site if the viewer wants to zoom in or zoom
out. I don't import dynamic maps from Google or Bing because it takes a lot
longer for the map to render than if you are viewing a static image. A
static image of that map shows my viewer where something is and that is all
I need as a rule. But I can add hot linked stars or other map details to the
image in Publisher easily where I can't do that to a dynamically generated
image imported to an I-frame.

Perhaps others in this group can suggest a better approach, but I think a
static image of the map with your hotlinked stars is the easiest to build,
and then provide a link to Google Maps if the viewer wants to zoom in or
out.

DavidF
 
D

DavidF

Too clumsy...yeah, right...you are too modest. You know more about using
I-frames in a Publisher web than anyone else I know.

The only thing you need to keep in mind is that Pub 2000 generated its code
all in one directory...the .html files were mixed in with the image files,
and all were at the same directory level. In Pub 2003 and 2007 default
setting you have the home page at one level and then a thicket folder
containing all the other pages and images, usually the index_files folder.
With that folder at another directory level, I always write absolute links
rather than relative links to make sure I don't make mistakes. Also Pub 2003
and 2007 default to the *.htm extension rather than the *.html like it does
in Pub 2000.

But with this said I am not sure the OP will be able to get everything he
wants as I don't know if you can add "star location links" to an imported
Google map in an I-frame....

DavidF
 
G

GeoffreyChaucer

From my observation an I-frame operates independently from its carrier page,
so any function available to the document contained in an I-frame should work.

Of course, I could be proven wrong.
 
D

DavidF

Ok..but I miss your point.

DavidF

GeoffreyChaucer said:
From my observation an I-frame operates independently from its carrier
page,
so any function available to the document contained in an I-frame should
work.

Of course, I could be proven wrong.
 
G

GeoffreyChaucer

David, you said:

"But with this said I am not sure the OP will be able to get everything he
wants as I don't know if you can add "star location links" to an imported
Google map in an I-frame.... "

So, I thought you meant that because the Google-map was called inside an
I-frame it may not respond to all the standard features of Google map.

Then I said I can see no reason why whatever works in a straight Google-map
page would not work if that page was called-up in an I-frame. This was my
point.

Check out the following example:
http://www.tilecraftpenrith.com.au/contactus.htm

By the way, I am not the author of the above site.
 
G

GeoffreyChaucer

Oh, one more thing David,

I take your point regarding the site file-structure in Pub 2003/2007.

This is a very important consideration if the source of the document
called-up in an I-frame is internal.

But in the case of a Google-map the source is external, so there should be
no problem since the link is an absolute link.
 
D

DavidF

Ok, now I understand. I think I knew that all the standard features of a
Google Map would work in an I-frame. What I didn't think possible was the
customization the OP seemed to be asking for: "I should add markings to the
map with hyperlinks. Then when you click ex. a star symbol it will open a
new page where is explained what you find from
there etc." I didn't see how to add the stars and have them link to the
information or sites the OP wanted...at least not to dynamic Google Map that
you imported into the page via a I-frame. To a fixed static image of the
map, yes.

Anyway thanks for the clarification and the example of the imported Google
Map. If JFWL comes back it should show at least illustrate that.

DavidF
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top