geo3.js 166 B

123456789
  1. var geo = new Geo();
  2. var area = new MessageElement("geo");
  3. if (geo.getGeo()) {
  4. geo.showLocation(area);
  5. }
  6. else {
  7. area.set("Geolocation API is not available.");
  8. }