Way simpler:
I took about 200 panoramas, geotagged them and display them using Google
custom streetview API, which is part of Google maps API v3:
http://code.google.com/apis/maps/documentation/javascript/services.html#CustomStreetView
For this I created 2 sets of data:
a) Polyline for the blue roads on the map:
var points =
[
new google.maps.LatLng(49.994581,8.664265),
new google.maps.LatLng(49.994636,8.666582),
etc...
];
b) List of my custom streetviews:
var panoramas = {
'38': {
latLng: new google.maps.LatLng(49.99434383656390, 8.66439325015278),
description: '38',
pano: '38',
copyright: 'Imagery (c) 2011 DIY-streetview.com',
tiles: {
worldSize: new google.maps.Size(8192, 4096),
tileSize: new google.maps.Size(512, 512),
heading: 339
},
links: [
{
heading: 159,
description: '37',
pano: '37',
roadColor: '#C9BE62',
roadOpacity: '0.3'
},
{
heading: 339,
description: '39',
pano: '39',
roadColor: '#C9BE62',
roadOpacity: '0.3'
}]},
etc
Obviously this does not scale.
So I like to serve this data only using Mapserver.
Tiles are from Google.
How to do this?
Thanks,
Jan
My working example:
http://www.diy-streetview.org/2011/03/17/google-streetview-player-for-diy-streetviews/
On Fri, Mar 18, 2011 at 3:31 PM, Mark Korver mwkor...@gmail.com wrote:
if you purpose is to replace the google base layer with something
different this might help
http://wiki.openstreetmap.org/wiki/Google_Maps_Example#Example_Using_Google_Maps_API_V3
that allows you to use OSM as basemap.
To use MapServer behind this rather than just getting from OSM, or
CloudMade etc, you need to be able to serve Tiles from MapServer.
see here for how to do that
http://mapserver.org/output/tile_mode.html
The references here are for GMap v2 so you will have to adapt the
examples abit to work with GMap V3
On Fri, Mar 18, 2011 at 7:22 AM, Jan Martin
janmar...@diy-streetview.org wrote:
Hi all,
I just published 200 panoramas I shot myself using the latest Google
custom
streetview API v3:
http://www.diy-streetview.org/2011/03/17/google-streetview-player-for-diy-streetviews/
For this i added an overview map using div's.
My camera used to shoot the 200 streetviews while walking, without even
stopping, in just 20 minutes:
http://www.diy-streetview.com
I am looking for help to implement a back-end using http://mapserver.org
.
Any sugestions how to do this?
Thanks,
Jan Martin
janmartin AT diy-streetview DOT org
P.S.:
Google custom streetview API:
http://code.google.com/apis/maps/documentation/javascript/services.html#CustomStreetView
--
http://www.DIY-streetview.org
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
http://www.DIY-streetview.org
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users