Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

The examples given in the documentation of Open Layers show very basic ways of utilising the different features. This example shows how to add shadows to the marker. This example shows how to create basic popups.

Looking at the sample code, I have no idea how to combine the two together, nor display different icons for the markers. Can anyone show me a tutorial or example that combines the various aspects of custom markers, shadows and popups using json data?

share|improve this question
    
OpenStreetMap is not the same as OpenLayers. Please edit your question. –  drnextgis Oct 10 '12 at 1:34
    
@drnextgis, noted. It's done. –  Question Overflow Oct 10 '12 at 9:35
add comment

1 Answer 1

up vote 1 down vote accepted

the OpenLayers Cookbook (http://www.packtpub.com/openlayers-create-gis-web-applications-cookbook/book) has some samples creating markers by hand.

And you can freely download the source code: http://packtlib.packtpub.com/library/9781849517843

Cheers.

share|improve this answer
    
Thanks for the tip. The examples look complex enough. Hope to find what I want.. –  Question Overflow Oct 10 '12 at 9:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.