Jump to content

Leaflet Map + Unigui


Recommended Posts


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

   	body {
       padding: 0;
       margin: 0;
      html, body, #map {
       height: 100%;

	<div id="map"></div> 	
// 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'



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




  • Upvote 1
Link to comment
Share on other sites

  • 2 years later...
  • 9 months later...
  • 1 month later...

Join the conversation

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

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...