Jump to content

Recommended Posts

Posted
HTMLFRAME CODE.

<!DOCTYPE html>
<html>
<head>
	<title>Leaflet unigui example</title>

	<style>		
   	body {
       padding: 0;
       margin: 0;
            }
      html, body, #map {
       height: 100%;
      }

	</style>
</head>
<body>
	<div id="map"></div> 	
</body>
</html>
HTMLFRAME AfterScript
{
// create a map in the "map" div, set the view to a given place and zoom
var map = L.map('map').setView([51.505, -0.09], 13);

L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
    attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map);

}

Hi

I'm trying using  leaflet map with unigui, but it seems that do not work fine.

leaflet custom .css and custom file .js added to servermodule

The map loaded ok, but show cutted

htmlframe afterscript and HTML added to show map

 

what i'm doing bad?

 

test case added

Unigui 0.99.xxx pro

codegear xe2

 

LEAFLET.rar

post-454-0-02642700-1430299219_thumb.jpg

  • Upvote 1
  • 2 years later...
  • 9 months later...
Posted

Hi, I use trial edition 1.50. I have to make application with leaflef map control,

I wanted to check how works unigui with this control and then buy unigui professional

  • 1 month later...
Posted
3 hours ago, hany said:

download Sample Link Not work can you send me working sample link.

Can you please specify which edition and build of UniGUI are you using?!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...