hi
can you please help me with my project???
it is all about on making a map of the realty houses...and i dont have an idea to do it..
my teacher said..the concept is when you search the person his/her house will zoom in..please help me...

Dani AI

Generated

This thread is on the right track: the basic flow is search -> address -> geocode -> pan/zoom to the house. outlined the flow and correctly flagged licensing as a possible blocker. Two immediate non-technical issues to resolve before coding: confirm you have a lawful source for people’s addresses (privacy laws and consent) and pick a map/geocode provider whose terms let you display results the way you want.

A practical, low-friction approach for a Visual Basic project is to host a small web map (Leaflet + OpenStreetMap tiles) and embed that page in the VB app using WebView2 or the WebBrowser control. That keeps the mapping code in standard web APIs (easy examples, lots of libraries) and avoids many provider restrictions that apply to native "fat" clients. Use a geocoding service (self-hosted Nominatim, a paid geocode API, or your own DB lookup) to convert addresses to lat/lng and then map.setView([lat, lng], zoom) + marker to zoom to the house. If you need satellite imagery, pick a provider that explicitly allows that usage and follow their license terms.

Minimal example (HTML + Leaflet) you can load from VB into a browser control:

<!doctype html>
<html>
<head>
  <link rel="stylesheet" href="https://unpkg.com/leaflet/dist/leaflet.css" />
  <script src="https://unpkg.com/leaflet/dist/leaflet.js"></script>
</head>
<body>
  <div id="map" style="width:800px;height:600px"></div>
  <script>
    var map = L.map('map').setView([51.5, -0.12], 13);
    L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
      { attribution: '© OpenStreetMap contributors' }).addTo(map);
    // when you have coordinates:
    // map.setView([lat, lon], 18); L.marker([lat, lon]).addTo(map);
  </script>
</body>
</html>

Read provider rules before choosing one: Google Maps rules (Google Maps Platform Terms), OpenStreetMap licensing (OpenStreetMap copyright), and Nominatim usage if you plan to use the public geocoder (Nominatim policy). For embedding in VB apps, consider WebView2 docs (Microsoft WebView2).

Recommended Answers

All 2 Replies

If I read this correctly, you are talking about using Google maps to search for a certain address, once found zoom in and show the house, am I correct?

Search a persons name, retrieve their address (so far from personal data store), then maps.google api to pull over head from satellite image... is the way I take it and guess what IT IS AGAINST GOOGLE EULA! Google does not want thier API or system used by FAT Clients like most anything that VS (yes VS as in Visual Studio) uses... So tell you teacher to read Google Map API EULA just to be sure...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.