zhyhero Posted October 29, 2021 Share Posted October 29, 2021 For now ,I add code to unimap.pas 640 JSCallGlobal('L.map', [FMapJSName, 641 JSObject([ 'crs',JSStatement('L.CRS.Simple'), // config crs to simple for x,y mode 642 'center', JSArray([DefaultLat, DefaultLong]), 643 'zoom', DefaultZoom, 644 'id', -1, 645 'InternalId', NextInternalID, 646 'layers', JSArray([JSStatement(JSName+'uniLayer0')]) 647 ]) 648 ], FMapJSName); Any other way ? Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted November 9, 2021 Share Posted November 9, 2021 On 10/29/2021 at 11:00 AM, zhyhero said: For now ,I add code to unimap.pas 640 JSCallGlobal('L.map', [FMapJSName, 641 JSObject([ 'crs',JSStatement('L.CRS.Simple'), // config crs to simple for x,y mode 642 'center', JSArray([DefaultLat, DefaultLong]), 643 'zoom', DefaultZoom, 644 'id', -1, 645 'InternalId', NextInternalID, 646 'layers', JSArray([JSStatement(JSName+'uniLayer0')]) 647 ]) 648 ], FMapJSName); Any other way ? We will add SimpleCRS property to unimap. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.