How to create a historical map layers?

106 views
Skip to first unread message

Arisztokrata

unread,
Jun 19, 2011, 4:35:34 PM6/19/11
to google-map...@googlegroups.com
Hello everyone! Unfortunately we do not speak English well, sorry.

I've read that it is possible to create custom maps, but do not get the help. Can you write step by step anyone?  Unfortunately, not much programming knowledge, but if you say what you try to do it.

Arisztokrata

unread,
Jun 22, 2011, 8:03:48 AM6/22/11
to google-map...@googlegroups.com
no one has ever tried to create such a map? :(

Barry Hunter

unread,
Jun 22, 2011, 9:48:33 AM6/22/11
to google-map...@googlegroups.com
(personal opinion)

... you've already admitted you have tried to follow some information,
but failed. How would people know that their writings are going to be
any more help? Say what guides you looked at. At what stage you ran
into issue.

You've also said you are not very experienced ... which also suggests
that its going to be a lot of work helping you.

All in all, you need to make it easier for people to help you. At the
moment you effectively asking for people to do the work for you. And
not really knowing what you want.

... so show willing, show how far you got. Ask *specific* questions on
the issues.

On Wed, Jun 22, 2011 at 1:03 PM, Arisztokrata
<magyarari...@gmail.com> wrote:
> no one has ever tried to create such a map? :(
>

> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-maps-js-api-v3/-/n2QcpMFClG8J.
> To post to this group, send email to google-map...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-a...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

Arisztokrata

unread,
Jun 22, 2011, 3:35:00 PM6/22/11
to google-map...@googlegroups.com
It's only a theoretical question.
There is a website where users want to use this option.
The system itself is joomla. There are components where you can write a blog, upload files and history topics, but can not show a map.
I thought that such a map is not a lot of programming.
Unfortunately not.

Such as Google Earth three-click and there is already above the image, it will create kmz. But I do not see Google Map. :(

example.kmz

Rossko

unread,
Jun 22, 2011, 4:35:23 PM6/22/11
to Google Maps JavaScript API v3
> Such as Google Earth three-click and there is already above the image, it
> will create kmz. But I do not see Google Map. :(

You want to show KML in an API map?
http://code.google.com/apis/maps/documentation/javascript/overlays.html#KMLLayers

Even simpler, just paste the web URL to your KML or KMZ in the
maps.google.com 'search' box

Arisztokrata

unread,
Jun 23, 2011, 7:03:42 AM6/23/11
to google-map...@googlegroups.com
Yes I watched it, but I think this is not for me. 
I would like to achieve this.

Google Earth map shows after kmz file has downloaded, and upload a Google map, show only small arrows.

Rossko

unread,
Jun 23, 2011, 7:38:23 AM6/23/11
to Google Maps JavaScript API v3
> I would like to achieve this.http://code.google.com/intl/hu-HU/apis/maps/documentation/javascript/...

Okay, there is your example. Why is it unsuitable for your needs?

Arisztoktara

unread,
Jun 23, 2011, 12:01:18 PM6/23/11
to google-map...@googlegroups.com
Not a bad example, but I do not understand it. Unfortunately I can not be programmed.
I thought someone describe step by step for me.

sorry.

Arisztokrata

unread,
Jun 23, 2011, 12:02:28 PM6/23/11
to google-map...@googlegroups.com
Not a bad example, but I do not understand it. Unfortunately I can not be programmed.
I thought someone describe step by step for me

sorry

Rossko

unread,
Jun 23, 2011, 12:45:58 PM6/23/11
to Google Maps JavaScript API v3
> Not a bad example, but I do not understand it. Unfortunately I can not be
> programmed.
> I thought someone describe step by step for me

Use 'view source' in your browser to see the code behind that example.
The map is created and the overlay placed in six lines of javascript.
The javascript contains the initial centre and zoom for the
background.
It specifies two corners for the overlay.
It specifies the URL for the image to be overlaid.

Arisztokrata

unread,
Jun 24, 2011, 8:16:19 AM6/24/11
to google-map...@googlegroups.com
Helping you wrote, thank you.
As I looked at the example source code, and copied it. It has its own image, but I can not change the coordinates.
How can I do?


thanks in advance ;)

Andrew Leach

unread,
Jun 24, 2011, 8:32:28 AM6/24/11
to google-map...@googlegroups.com
On 24 June 2011 13:16, Arisztokrata <magyarari...@gmail.com> wrote:
> Helping you wrote, thank you.
> As I looked at the example source code, and copied it. It has its own image,
> but I can not change the coordinates.
> http://code.google.com/intl/hu-HU/apis/maps/documentation/javascript/examples/groundoverlay-simple.html
> How can I do?

This creates the overlay image, fitting it to "imagebounds":
var oldmap = new google.maps.GroundOverlay(
"http://www.lib.utexas.edu/maps/historical/newark_nj_1922.jpg",
imageBounds);

imagebounds is a rectangle defined by its corners:
var imageBounds = new google.maps.LatLngBounds(
new google.maps.LatLng(40.712216,-74.22655),
new google.maps.LatLng(40.773941,-74.12544));

So to alter the coordinates of the overlay, you alter those coordinates.

Don't forget to change the map centre, as well.

Arisztokrata

unread,
Jun 24, 2011, 11:08:06 AM6/24/11
to google-map...@googlegroups.com, andrew....@gmail.com
Very good thank you! I understand.
And where do I find out that what is on my map coordinates?
And where can I find a good corner of the image coordinates?
Where can I see it, edit it?


Thanks

Rossko

unread,
Jun 24, 2011, 12:23:27 PM6/24/11
to Google Maps JavaScript API v3
Have you ever created any kind of webpage before?

Have you looked at any kind of map before (paper will do) and read
coordinates off of it?

Arisztokrata

unread,
Jun 24, 2011, 12:32:59 PM6/24/11
to google-map...@googlegroups.com
Website is just a hobby.
My profession is completely different, but I want to learn if you help.
Begin to understand, but I need help.

I'm not easy for me to read a map and information such as you.
But if you write an example, thank you.


koordinata.png

Rossko

unread,
Jun 24, 2011, 3:40:55 PM6/24/11
to Google Maps JavaScript API v3
No-one is going to write your webpage for you, unless you pay them.

> Website is just a hobby.

Okay. At the least, you will need to be able to
a) Put a webpage in your own webspace
b) Edit lines in your webpage, for example alter
var imageBounds = new google.maps.LatLngBounds(
new google.maps.LatLng(40.712216,-74.22655),
new google.maps.LatLng(40.773941,-74.12544));
to substitute the numbers you want instead.

If you can't do that, this is not the forum to help you ; it is a maps
forum. You should find some beginners webpage making tutorials or
help forums. Come back here when you are ready to focus on the maps
part.

If you can edit text in your webpage, that's fine, lets not waste time
with "I can not change the coordinates". You can.

> I'm not easy for me to read a map and information such as you.

Don't know what you mean. In the image you posted, the corners of the
blue rectangle are already marked with lat/long coordinates. What are
you having trouble with?

Arisztokrata

unread,
Jun 24, 2011, 4:06:42 PM6/24/11
to google-map...@googlegroups.com
Do you have any training video somewhere? (google - this issue)

Rossko

unread,
Jun 24, 2011, 7:03:25 PM6/24/11
to Google Maps JavaScript API v3
> Do you have any training video somewhere? (google - this issue)

http://lmgtfy.com/?q=training+video+for+unspecified+topic

Arisztokrata

unread,
Jun 25, 2011, 2:35:35 PM6/25/11
to google-map...@googlegroups.com
Okay my friend, I understand. I thought that this forum is not just for developers.
But a comment.
To show this link, because there is no educational video! You know that.

That's it.

I thank you.
Reply all
Reply to author
Forward
0 new messages