[OpenLayers-Dev] Dev Digest, Vol 40, Issue 17

Brian Kittrell kittrellbj at gmail.com
Wed Jan 20 20:09:40 EST 2010


Thank you for the answers to those questions.  I will be looking into
them as I continue to develop my game.  I also have been looking into
a CSS implementation that may be more in line with what I am trying to
do.  Since basically all of the map information is stored in a
database on the server, it may be just as efficient or faster to
generate map data to a cache and then load that page on demand.

Just trying to get the biggest bang for my processor cycles. :)
OpenLayers is definitely a nice package, but it may be much bigger
than what I need to perform the tasks I'm trying to do.  Of course,
this is a problem you can run into when using an existing framework in
any application.

On 1/20/10, dev-request at openlayers.org <dev-request at openlayers.org> wrote:
> Send Dev mailing list submissions to
> 	dev at openlayers.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://openlayers.org/mailman/listinfo/dev
> or, via email, send a message with subject or body 'help' to
> 	dev-request at openlayers.org
>
> You can reach the person managing the list at
> 	dev-owner at openlayers.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Dev digest..."
>
>
> Today's Topics:
>
>    1. Hiya (Brian Kittrell)
>    2. Re: Hiya (Marc Jansen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 19 Jan 2010 17:45:01 -0600
> From: Brian Kittrell <kittrellbj at gmail.com>
> Subject: [OpenLayers-Dev] Hiya
> To: Openlayers <dev at openlayers.org>
> Message-ID:
> 	<ebe1470a1001191545h3bff15ewc065776aee27531f at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> I just wanted to drop in a message and see if anyone could help me
> out.  I am developing a browser-based MMO game, and I need mapping
> functionality for it.  Basically, I was wondering if anyone could
> point me to some tutorials regarding the following topics that break
> things down to a non-javascript developer.
>
> 1.)  The ability to use the map library with an image instead of using
> a map server.
> 2.)  The ability to add click-able hotspots to the map at specific
> coordinates (with URL-encoded GET variables, etc.)
> 3.)  If there is an ability to draw shapes on the map of different
> colors (to represent borders of places).  Not an extremely important
> feature, but I'd like to have any suggestions or recommendations with
> regards to this.  (Maybe several overlay layers for each different
> territory aligned to the image somehow?)
>
> I'm a PHP developer and have little experience in javascript.  I can
> follow tutorials, but I can't really write javascript from scratch
> like I can with PHP.  Any/all help is appreciated in advance.  Thanks.
>
> - Brian
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 20 Jan 2010 10:59:32 +0100
> From: Marc Jansen <jansen at terrestris.de>
> Subject: Re: [OpenLayers-Dev] Hiya
> To: kittrellbj at gmail.com
> Cc: Openlayers <dev at openlayers.org>
> Message-ID: <4B56D404.1080709 at terrestris.de>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Brian,
>
> some answers inline.
>
> Brian Kittrell wrote:
>> Hi,
>>
>> I just wanted to drop in a message and see if anyone could help me
>> out.  I am developing a browser-based MMO game, and I need mapping
>> functionality for it.  Basically, I was wondering if anyone could
>> point me to some tutorials regarding the following topics that break
>> things down to a non-javascript developer.
>>
>> 1.)  The ability to use the map library with an image instead of using
>> a map server.
>>
>
> Not a tutorial, but an example:
> http://www.openlayers.org/dev/examples/image-layer.html
>
> you should be able to add more Image layers that are being displayed at
> various zoomlevels.
>
>> 2.)  The ability to add click-able hotspots to the map at specific
>> coordinates (with URL-encoded GET variables, etc.)
>>
>
> Maybe
> http://www.openlayers.org/dev/examples/select-feature-multilayer.html is
> what you are searching for?
> Notice how the  Features of the layers are selectable and have an action
> that runs when a feuture is selected.
> The vector-features can be styled to (more or less) whatever you want.
>
>> 3.)  If there is an ability to draw shapes on the map of different
>> colors (to represent borders of places).  Not an extremely important
>> feature, but I'd like to have any suggestions or recommendations with
>> regards to this.  (Maybe several overlay layers for each different
>> territory aligned to the image somehow?)
>>
>
> I'd suggest a Vector-layer with polygon features as well. If there are
> many regions you need to draw, I would definitely go with a mapserver.
>
> See http://www.openlayers.org/dev/examples/vector-features.html for the
> creation and styling of vector features.
>
>> I'm a PHP developer and have little experience in javascript.  I can
>> follow tutorials, but I can't really write javascript from scratch
>> like I can with PHP.  Any/all help is appreciated in advance.  Thanks.
>>
>
> regards,
> Marc
>
>> - Brian
>> _______________________________________________
>> Dev mailing list
>> Dev at openlayers.org
>> http://openlayers.org/mailman/listinfo/dev
>>
>>
>
>
>
> ------------------------------
>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
>
> End of Dev Digest, Vol 40, Issue 17
> ***********************************
>



More information about the Dev mailing list