I Somehow missed the previous emails of this thread, hence my late response

>>> Looking at the demos in trunk and ol-integration i couldn't find any 
>>> example for this. The OWSCat*  stuff sounded promising, but if i got 
>>> it right, these classes/stylesheets are targeted at wfs requests.
>>> If this is currently not supported, what would be the best way to 
>>> start an implementation?
>>>
>>> Is there a configuration example of how to integrate 
>>> GoogleMaps/Yahoo/Microsoft Layers in  Mapbuiler-OL? Can this be done 
>>> using a OWSContext document?
>>>       
>> Yes, sure
>>   
>>     
>>> I remember a blog post of Cameron Shorter (i guess) who stated that 
>>> he succesfully integrated GoogleMaps with Mapbuilder, but i couldn't 
>>> find any howto (i'm aware of  the projection issues, just would like 
>>> to experiment). 
>>>       
>> Just add the Google map api key in your index .html and add a layer in 
>> top in your context file  with  service="GMAP" like this  <Layer 
>> queryable="1" hidden="0">
>>       <Server service="GMAP" version="1.0.0" title="GMAP"> .
>> .
>> It's not perfect, maybe there are little bugs because MapOptions are a 
>> little different but Steven was working on it
>>     
There are a few issues with google maps, the most important one is that 
it's sluggish. This is something which is hard to solve apparently. Also 
you need to switch 'reproject' on in openlayers, to refit the WMS images 
on top of googlemaps. ON a detailed scale you need to use EPSG:4326, for 
a world view you need to use a different projection.
In your context doc add:
<Layer queryable="0" hidden="0">
      <Server service="Google" version="1.0.0" title="Google Map">
       <OnlineResource xlink:type="simple" xlink:href="Google"/>
      </Server>
       <Name>Google</Name>
      <Title>Google</Title>
       <SRS>EPSG:4326</SRS>
      <FormatList>
       <Format current="1">image/gif</Format>
      </FormatList>
      <StyleList>
       <Style current="1">
         <Name>default</Name>
           <Title>default</Title>
        </Style>
       </StyleList>
     </Layer>
To switch on reprojection:
change layerOptions.reproject=false; to true in MapPaneOL it's around 
line 390.

ciao,
steven



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to