jansen at terrestris.de
Wed Jan 20 04:59:32 EST 2010
some answers inline.
Brian Kittrell wrote:
> 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
> 1.) The ability to use the map library with an image instead of using
> a map server.
Not a tutorial, but an example:
you should be able to add more Image layers that are being displayed at
> 2.) The ability to add click-able hotspots to the map at specific
> coordinates (with URL-encoded GET variables, etc.)
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.
> like I can with PHP. Any/all help is appreciated in advance. Thanks.
> - Brian
> Dev mailing list
> Dev at openlayers.org
More information about the Dev