Article View: pl.comp.bazy-danych.msaccess
Article #135187Re: Ewidencja danych na mapie
From: Maciej Tokarz
Date: Mon, 09 Apr 2012 15:07
Date: Mon, 09 Apr 2012 15:07
35 lines
2390 bytes
2390 bytes
Witaj,
Nie korzystałem z WebBrowser w Access, ale da się zapewne:
http://www.databasedev.co.uk/access_web_page_viewer.html
Do wykorzystania masz np. darmowe mapy http://www.openstreetmap.org/
Do wyszukiwania geolokalizacji adresów np. http://open.mapquestapi.com/nominatim/
Do implementacji w oparciu o JavaScript np. bibliotekę http://openlayers.org/
Ładowanie mapy:
<script type="text/javascript">
var map, markers;
function init() {
map = new OpenLayers.Map('map');
var layer = new OpenLayers.Layer.OSM("OSM");
map.addLayer(layer);
epsg = new OpenLayers.Projection("EPSG:4326");
projectTo = map.getProjectionObject();
var lonLat = new OpenLayers.LonLat(19.480556, 52.069167).transform(epsg, projectTo);
map.setCenter(lonLat, 6);
markers = new OpenLayers.Layer.Markers("Markers");
map.addLayer(markers);
PageMethods.MarkersAdd(onSucceeded, onFailed);
}
Pewnie prościej było by napisać wszystko w ASP.Net
Pozdrawiam,
Maciej
Technical Details
Message-ID:
<170578.47.1333984079071.JavaMail.geo-discussion-forums@ynuu4>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mailReferences:
<83cfe6c1-0a5b-449f-803f-6fc8c6f9d9a2@z38g2000vbu.googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!newsfeed.neostrada.pl!unt-exc-02.news.neostrada.pl!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Maciej Tokarz <mactok@my-poi.pl> Newsgroups: pl.comp.bazy-danych.msaccess Subject: Re: Ewidencja danych na mapie Date: Mon, 9 Apr 2012 08:07:58 -0700 (PDT) Organization: http://groups.google.com Lines: 38 Message-ID: <170578.47.1333984079071.JavaMail.geo-discussion-forums@ynuu4> References: <83cfe6c1-0a5b-449f-803f-6fc8c6f9d9a2@z38g2000vbu.googlegroups.com> NNTP-Posting-Host: 90.156.11.59 Mime-Version: 1.0 X-Trace: posting.google.com 1333984079 13772 127.0.0.1 (9 Apr 2012 15:07:59 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 9 Apr 2012 15:07:59 +0000 (UTC) In-Reply-To: <83cfe6c1-0a5b-449f-803f-6fc8c6f9d9a2@z38g2000vbu.googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=90.156.11.59; posting-account=woTZnAoAAACPjq3QRgCnaqbKSP8vIc3U User-Agent: G2/1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit