0

The examples given in the documentation of OpenLayers 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?

2
  • 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
1

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.

1
  • Thanks for the tip. The examples look complex enough. Hope to find what I want.. – Question Overflow Oct 10 '12 at 9:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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