Jump to content

lema

uniGUI Subscriber
  • Posts

    405
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by lema

  1. Hello, maybe this can help you. http://forums.unigui.com/index.php?/topic/2363-google-maps-for-unigui/page-3&do=findComment&comment=11108
  2. Hello, the sample seems to work fine on my end with: Delphi Seattle UniGUI 1.0.0.1413 Complete Do you have problem with the specific project?
  3. Hello, please double check that the Google Maps Directions API in your Google API Key is enabled.
  4. Hello, could you please upload a sample application demonstrating the problem ? Also, check at this: http://forums.unigui.com/index.php?/topic/2363-google-maps-for-unigui/page-20&do=findComment&comment=46531
  5. Hello, did you set your own Google API Key ? (The corresponding constant is MyGoogleAPIKey) You can get your key at https://code.google.com/apis/console/
  6. Hello, could you please upload a sample application demonstrating the problem ?
  7. Hello, 1. You can try reverse geocoding. 2. Use the included Haversine formula function TUniGMap.ComputeDistanceBetween(lat1, lng1, lat2, lng2: Double): Double;
  8. Hello, I uploaded a new version which implements the API method getBounds. The getBounds returns the lat/lng bounds of the current viewport. // swlat,swlng : south-west coordinates (Bottom-Left) // nelat,nelng : north-east coordinates (Top-Right) 2017-09-15 v1.4.8 Tested with uniGUI ver.1.0.0.1410 Online demo: http://79.143.178.31/lema/uniGMapDemo.dll
  9. You can use the procedure getBounds (implemented in the latest v1.4.8).
  10. Hello. AFAIK, there is no any Google Maps API function to solve the Point-In-Polygon problem. You have to find a suitable algorithm via searching the internet. You can try: https://www.google.gr/search?q=Point-In-Polygon https://gis.stackexchange.com/search?q=Point-In-Polygon Personally, I have used the spatial functions of MySQL.
  11. Hello - please correct me if I am mistaken - but I don’t have see any Google Maps API call for searching in KML Layers. Why don't you parse and traverse the KML file like any other XML?
  12. Hello, is the problem solved ? In general : When the component is being created, it adds the necessary paths in ServerModule.CustomFiles. So, there must be an instance of uniGmap on your FIRST form. I always suggest to place an invisible uniGmap on your MainForm or LoginForm. Also, please make sure that you have the required JS files in the /files directory markerclusterer.js markerwithlabel_packed.js
  13. You can try to customize your marker with CSS. See at the demo->Markers with Label
  14. Hello, I uploaded a new version which implements the API method fitBounds. The fitBounds sets the viewport to contain the given bounds. procedure TUniGMap.fitBounds(sw, ne: TPoints2D); //sw : South-West corner (Bottom-Left) //ne : North-East corner (Top-Right) There is also a new form in the demo , showing the usage of the new procedure. 2017-08-13 v1.4.7 Tested with uniGUI ver.1.0.0.1404 Online demo: http://79.143.178.31/lema/uniGMapDemo.dll
  15. Hello, 1. You can use the procedure fitBounds (this has been implemented in the latest version 1.4.7). 2. Check the existence of the file markerwithlabel_packed.js. It must be located into /files directory.
  16. Mohammad, thanks for sharing ! I always watch your posts with interest, there is a lot of material in your samples.
  17. Do you create the GeolocationAPIForm as a Free or as Application Form? How do you call the GeolocationAPIForm ? Can you provide a working example ?
  18. Hello, can you please upload a working sample in order to look at it ?
  19. Hello. Please check that you have latest markerwithlabel_packed.js in the corresponding /files directory. (You can find this library in the uniGMap package)
  20. lema

    UniGUI CookBook ?

    I have a feeling that something exciting is happening..... https://bitbucket.org/davidizadar/unigui-cookbook/overview
  21. Hello, I tried before -without much success- to print a map with all its content. The Google Maps Javascript API doesn’t print overlays (markers, lines, etc.) and the alternative solution with the use of Static Maps API didn’t work well because the URL I was building, exceeded the max limit (I think it was 2KB). When I find some time, I will take a look at it again. In the meanwhile, I suggest to look for workarounds like html2canvas or dom-to-image.
  22. Hello, I uploaded a new version which implements the API function getElevationForLocation. 2017-07-04 v1.4.6 Tested with uniGUI ver.1.0.0.1399 Online demo: http://79.143.178.31/lema/uniGMapDemo.dll
  23. When the component is being created, it adds the necessary paths in ServerModule.CustomFiles. So, there must be an instance of uniGmap on your FIRST form. I always suggest to place an invisible uniGmap on your MainForm or LoginForm.
  24. Hello. Please make sure that you have the required JS files in the /files directory markerclusterer.js markerwithlabel_packed.js
×
×
  • Create New...