Here is the solution:
1- You will need a *vector* layer to insert cells (features-geometries)
2- Your visible area is your bounding box with coordinates. 
3- you know your bounding box, how many cells do you want to use? let's say
2x2 so you put 4 features on map and their geometries should be polygon with
4 points 
4- implement selectfeature for each cell 
5- set style of cells how does they look etc
and you are done

you can do this exactly with using openlayers examples:
select feature
add feature
vector layer
styling
extent
bounding box




--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/divide-a-map-into-cells-of-the-same-size-tp5025320p5025415.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to