BANNER.png


We changed the longitude and latitude coordinates of Cuenca / Ecuador, the same ones that were obtained from google maps. (Attached line code): Var lonLat = new OpenLayers.LonLat (-79.0046327, -2.897447)

image001.png

We look for the coordinates in google maps of three points of interest in the city 1.- SPA NOVAQUA (lonLat1) 2.- RESTAURANT BALCON QUITEƑO (lonLat2) 3.- MILENIUM PLAZA (lonLat3), later we use the method lonLat of openlayers same that receives The latitude and longitude parameters and transform the location of the system coordinate of our openlayers map from WGS1984 to Spherical Mercator Projection.

image002.png

Then we use the markers method to display the points of interest that were stored in the variables lonLat1, lonLat2, lonLat3.

image003.png

We put the zoom to 13, as the points are far away we must calibrate the zoom so that it shows all the points included in the map.

image004.png

We try to improve the appearance of the page, we place a logo banner of mastery.

image005.png