473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

How to make a very simple map (like Google Maps)

wim
I need to make a layout of a company building, preferably one which can
be zoomed and dragged. Knowing that Google Maps does something like
that (but much more advanced), I was wondering how I can create such a
thing.
A simple map, with zooming and dragging, but without the additional
map-locating code or search features.
Any suggestions ?

Jul 23 '05 #1
10 2615
wi*@godden.net wrote:
I need to make a layout of a company building, preferably one which can
be zoomed and dragged. Knowing that Google Maps does something like
that (but much more advanced), I was wondering how I can create such a
thing.
A simple map, with zooming and dragging, but without the additional
map-locating code or search features.

Any suggestions ?


If you can't find a nice solution, and you'd consider something simpler,
how about showing a large image that is made up of 9, 16, 25 (etc)
equally sized smaller images. When one of the smaller images is clicked
a larger version of it is viewed.
Jul 23 '05 #2
wim
Thanks, but since the whole thing needs to look fancy and needs to be
as interactive as possible, I really has to be draggable and zoomable.

Jul 23 '05 #3
<wi*@godden.net> wrote in message
news:11********************@g14g2000cwa.googlegrou ps.com...
Thanks, but since the whole thing needs to look
fancy and needs to be
as interactive as possible, I really has to be
draggable and zoomable.


Look to SVG! Can be as fancy as you want with
ecmascript... but be prepared to spend time on it
;-)
Jul 23 '05 #4
wim
Hasn't anyone else ever built anything like this ? Was Google really
first in doing this ?

Jul 23 '05 #5
On 20 Apr 2005 07:37:17 -0700, "wi*@godden.net" <wi*@godden.net>
wrote:
Hasn't anyone else ever built anything like this ? Was Google really
first in doing this ?


By no means. Web Mapping is a mature and active topic in Geographic
Information Systems, and there are very active standards bodies out
there - Open Geospatial Consortium (OGC) on the industry side and ISO
TC211 on the formal standards side. There are quite a few similar
services to Google maps out there - look at www.multimap.co.uk, for
one, where advertizing is linked to a map. This is in principle little
different to Google maps, and it has ben around for years! I am
currently working on implementing a web Map Server and Web Feature
Server for Antarctica, using stable, well established open-source
toolkits to do so (Geoserver and PostGIS for those interested).

Google's new slant is to link mapping to their query engines.

However, this has little or nothing to do with Javascript - the volume
of data required to make anything work means that almost all the
intelligence is in the back-end on the server. I will be doing a
little Javascript development to portray map data over the next month
or so, but this is simply to allow a simple user interface to
construct complex URLs that are submitted to a server.

SVG is, of course, a popular portrayal mechanism for map data, but map
data are more complex "under the hood" and SVG is not suitable for the
back-end storage and manipulation of map data.

Paul
Jul 23 '05 #6
wim
Well, I'm not really looking for a full mapping solution. The thing I'm
looking for is how to :
- display the images the way Google did (where you don't see it's
separate images and right-clicking them results in nothing happening)
- make the images draggable (don't care about replacing the image
titles with others, because my map won't be big...)
- put the zoom buttons on top of the image

Any help on those things would be very helpful, as Google's source code
is very big and not exactly clear, even with some comments I found
online.

Kind regards,

Wim

Jul 23 '05 #7
On 21 Apr 2005 12:33:11 -0700, "wi*@godden.net" <wi*@godden.net>
wrote:
Well, I'm not really looking for a full mapping solution. The thing I'm
looking for is how to :
- display the images the way Google did (where you don't see it's
separate images and right-clicking them results in nothing happening)
- make the images draggable (don't care about replacing the image
titles with others, because my map won't be big...)
- put the zoom buttons on top of the image

Any help on those things would be very helpful, as Google's source code
is very big and not exactly clear, even with some comments I found
online.

Kind regards,

Wim


But Google probably use the kind of solutions I mentioned on the
server in order to provide the functionality you see. Seriously, this
isn't a client-side problem, as it requires the manipulation of
potentially very large databases. Yes, you have a limited problem, but
the problem you pose is in general not limited. FMTools (which
contains an implementation of Mapserver) might help you - it provides
image serving as well as serving vector data.

Pul Cooper
Jul 23 '05 #8
wim
As I said, I don't care about the backend. I can build things like that
without any problems. My problem is building the frontend. I have no
idea how to get a draggable image with zoom buttons on top of it. And
there seems to be no website explaining how to do something like that.
I can't find anything called FMTools except an FM radio system.
Any idea where I can find it ?

Jul 23 '05 #9
On 26 Apr 2005 08:37:28 -0700, "wi*@godden.net" <wi*@godden.net>
wrote:
As I said, I don't care about the backend. I can build things like that
without any problems. My problem is building the frontend. I have no
idea how to get a draggable image with zoom buttons on top of it. And
there seems to be no website explaining how to do something like that.
I can't find anything called FMTools except an FM radio system.
Any idea where I can find it ?

I beg your pardon - it is FWTools, and can be found at
http://fwtools.maptools.org/

Paul
Jul 23 '05 #10
wim
Great stuff. Too bad it doesn't have any code for dragging the map like
Google Maps :(

Jul 23 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: windandwaves | last post by:
Hi Folk Some of you may find this function useful. It makes it easier to create maps using Google Maps. I link it to a database of points. The main use of the function is that it creates all...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
16
by: nleahcim | last post by:
Hi - I am starting to look at doing something that I think will be amazingly difficult. I ideally would like to do this in C, as that is what I am best in. I can handle C++ but I am not particuarly...
6
by: Ian Boyd | last post by:
Every time during development we had to make table changes, we use Control Center. Most of the time, Control Center fails. If you try to "undo all", it doesn't, and you end up losing your identity...
1
by: xahlee | last post by:
Elisp Tutorial: Make Google Earth Xah Lee, 2006-12 This page shows a example of writing a emacs lisp function that creates a Google Earth file, and creates a link to the file, as well a link...
5
by: xml .NET group | last post by:
Is there any book on using ASP.NET for Google Maps. For example, following books: http://www.amazon.com/Beginning-Google-Maps-Applications-Ajax/dp/1590597079/ ...
3
by: Harch84 | last post by:
Hi I am using a javascript for google maps to geocode two locations and I thin want to retrieve the two coordinates and enter them into a Perl Script. Now I have managed to set up the page with the...
0
by: tomPee | last post by:
Hi, I have no idea if this is the right section to post this in. But i thought it maybe belonged here most. The problem i having is actually, most likely really simple. But here i am running...
3
by: Phil Stanton | last post by:
I have a button on a form which when pressed displays a google map of the address. Code is Private Sub Googlemap_Click() MakeURL ("") End Sub
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.