Hi Edwin,
first of all, thanks for responding :)
On Wed, 05 Jan 2011 16:18:24 +0100, Edwin Commandeur
<com...@gm...> wrote:
> Hi Fatzopilot,
>
> You might have figured this one out already, but for OSM you indeed
> need to include the following extra script:
>
> http://www.openstreetmap.org/openlayers/OpenStreetMap.js
I actually did include the above .js, otherwise the WMS client would not
have worked either.
So there is a problem only when using the OSM.Mapnik layer, the WMS layer
works flawlessly.
>
> When you look at the source for
> http://www.openstreetmap.org/index.html you can deduce that.
>
> There are several ways to include OSM data. These are mentioned on:
>
> http://wiki.openstreetmap.org/wiki/Deploying_your_own_Slippy_Map
>
> An alternative that is not mentioned is serving the data as WMS, or
> find a hoster that does :)
Yes, that would be an option if everything else fails, but afaics this
does not support tile caching.
>
> Greetings,
> Edwin
>
> On 2 January 2011 03:05, fatzopilot <fat...@gm...> wrote:
>> Hi list,
>>
>> there seems to be something wrong with my attempts to get gwt-openlayers
>> displaying mapnik generated tiles.
>> The showcase runs just fine, I slightly changed it to use a Mapnik
>> backend
>> instead of the WMS backend.
>> I did pretty much the same as here:
>> http://code.google.com/p/dantwining/source/browse/trunk/gwitmap/src/com/dantwining/gwitmap/client/GwitMap.java
>> However, I get a "com.google.gwt.core.client.JavaScriptException:
>> (TypeError): $wnd.OpenLayers.Layer.OSM.Mapnik" is not a constructor" in
>> dev-mode.
>> Did I forget to include some JS somewhere or is there another problem?
>>
>> Thanks
>> fatzopilot
>>
>> ------------------------------------------------------------------------------
>> Learn how Oracle Real Application Clusters (RAC) One Node allows
>> customers
>> to consolidate database storage, standardize their database
>> environment, and,
>> should the need arise, upgrade to a full multi-node Oracle RAC database
>> without downtime or disruption
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> Gwt-openlayers-users mailing list
>> Gwt...@li...
>> https://lists.sourceforge.net/lists/listinfo/gwt-openlayers-users
>>
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
|