I am a beginner of OpenLayers module.

Since I want to do a research about this module, I need to add a new type map of my country into this module.

Although I read a lot of materials about this module, I have no idea about adding a new map into it.

Cause I don't have any experience about developing a module.

Could anyone give me some suggestions or tips to solve this problem?

I am really confused about this!!

Thanks for helping!

CommentFileSizeAuthor
#5 1.png681.42 KBOhoshi
#5 2.png602.28 KBOhoshi
#5 3.png1.92 MBOhoshi
#5 4.png713.63 KBOhoshi

Comments

pol’s picture

Status: Active » Postponed (maintainer needs more info)

What kind of map ?

ifrik’s picture

Some basic information is in the documentation: http://drupal.org/node/1636666

Do you mean
* a map that focuses on a specific region, so that mainly your country is visible?
* a different background (base layer) on which your data is displayed?
* a set of points showing locations in your country?
or something different?

Ohoshi’s picture

I mean that if I can add a new type of map into OpenLayers module as a base map (like OSM, Bing map...)

I want to add these map as basic layer:

1. http://maps.nlsc.gov.tw/

2. http://gissrv4.sinica.edu.tw/gis/twhgis.aspx

(or other official published map)

then I can use this module with our map in my drupal website more easily.

Since my English is limited, I am not sure if I express my meaning correctly.

There are some screenshots in comment 5.

I hope that it can help me express my meaning.

Sorry for my late reply.

Thank you so much for the response!!!

Ohoshi’s picture

Status: Postponed (maintainer needs more info) » Active
Ohoshi’s picture

StatusFileSize
new713.63 KB
new1.92 MB
new602.28 KB
new681.42 KB
pol’s picture

Status: Active » Fixed

It looks like these are WMS layer that you can add through the OpenLayers UI.

See: http://maps.nlsc.gov.tw/O09/js/qt_map.js

There, I got it working: https://docs.google.com/file/d/0B7ugUjBv1lqHYXEzYkg2YXVFZHc/edit

Good luck.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Ohoshi’s picture

Thanks for your response.

I have some problem about your comment.

"It looks like these are WMS layer that you can add through the OpenLayers UI."

Is there a "module" which called "OpenLayers UI"?

Or you mean that I can use OpenLayers module through its UI?

Sorry, I am really confused about this.

and may I e-mail you when I have questions about this?

Sorry for so many questions! Thank you in advance!

pol’s picture

OpenLayers is composed of 3 modules.

  • OpenLayers: Core and API
  • OpenLayers UI: The User Interface and the forms
  • OpenLayers Views: All the views related stuff

You have to enabled OpenLayers and OpenLayers UI.

Then, in admin/structure/openlayers, you'll be able to add "layers", WMS type.

I hope it helps. bye.