{"action":"opened","issue":{"url":"https://api.github.com/repos/tombatossals/angular-openlayers-directive/issues/270","repository_url":"https://api.github.com/repos/tombatossals/angular-openlayers-directive","labels_url":"https://api.github.com/repos/tombatossals/angular-openlayers-directive/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/tombatossals/angular-openlayers-directive/issues/270/comments","events_url":"https://api.github.com/repos/tombatossals/angular-openlayers-directive/issues/270/events","html_url":"https://github.com/tombatossals/angular-openlayers-directive/issues/270","id":154960063,"number":270,"title":"Having problems working with geoserver.","user":{"login":"lehocnc","id":19381857,"avatar_url":"https://avatars.githubusercontent.com/u/19381857?v=3","gravatar_id":"","url":"https://api.github.com/users/lehocnc","html_url":"https://github.com/lehocnc","followers_url":"https://api.github.com/users/lehocnc/followers","following_url":"https://api.github.com/users/lehocnc/following{/other_user}","gists_url":"https://api.github.com/users/lehocnc/gists{/gist_id}","starred_url":"https://api.github.com/users/lehocnc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lehocnc/subscriptions","organizations_url":"https://api.github.com/users/lehocnc/orgs","repos_url":"https://api.github.com/users/lehocnc/repos","events_url":"https://api.github.com/users/lehocnc/events{/privacy}","received_events_url":"https://api.github.com/users/lehocnc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-16T04:49:09Z","updated_at":"2016-05-16T04:49:09Z","closed_at":null,"body":"Hi there! Thanks for you super-easy directive with openlayers.\r\nI have tried this tool with my geoserver, but have no success!\r\nI saw an example with WMS from geoserver, but when try with my own i could not see anything. Don't know what is the problem.\r\nI can do the same with Openlayer and see the result, here some codes:\r\nin openlayer:\r\n\r\n\t\r\n\tvar wms = new OpenLayers.Layer.WMS(\r\n\t\t\t\r\n\t\t\t\"Vn maps\",\r\n\t\t\t\r\n\t\t\t\"http://localhost:7070/geoserver/wms/vietnam_bbd\",\r\n\t\t\t\r\n\t\t\t{layers: 'vietnam_bbd:tinh'}\r\n\t\t\t);\r\n\r\nIn directvie:\r\n  wms: {\r\n                 source: {\r\n                \t type: 'ImageWMS', // is this optional?\r\n                     url: 'http://localhost:7070/geoserver/vietnam_bbd/wms', //'http://demo.opengeo.org/geoserver/wms', 'topp:states'          \r\n                    \r\n                     params: { LAYERS: 'vietnam_bbd:tinh' },\r\n                  \r\n                 },\r\n                 \r\n                 \"visible\": true,\r\n                 \"opacity\": 1\r\n             }\r\nThanks for giving this tool and wait for your response!"}}