[SOLVED] Leaflet integration problem - Wisej 2.0

Answered
0
0

hi, i’m trying to integrate Leaflet in simple widget. But it’s not rendered correctly – here is only map visible, not controls. In designer is map rendered correctly. Same problem in 1.5.43.

basic sample included.

Attachment
  • You must to post comments
Best Answer
0
0

Update: I found it. It depends on

/* Fix Chrome rendering failure with transition animations. */
div {
-webkit-transform: translateZ(0);
}

in wisej.css

if i switch this style off in console from div, map is rendered correctly, but i failed override it in code.

 

Hi,

thank you for fast answer. problem is with map controls, they are hidden somewhere. its on local machine, my result is same as yours. Config is ok, no errors at console.

map controls  are rendered in dom, problem is probably somewhere in conflicting css

leaflet.ok.png is similar sample but in plain html https://leafletjs.com/examples/quick-start/example-basic.html

leaflet.in.designer.png shows control as rendered in form designer

thank you

pavel

 

 

  • You must to post comments
0
0

Hi Pavel,

your sample works fine running on localhost:

leaflet

Are you deploying on a remote server ?
Do you get any error messages in the console ?
Can you please check if you have a mix of 1.5 and 2.0 Wisej assemblies in your configuration files ?

Best regards
Frank

 

Attachment
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.