If you comment out line 26 and rebuild, clients can use the MapTypeStyler type, otherwise there is a compiler error because of the extra constructor definition.
Here is some code that currently fails to compile (fixed above):
[<JavaScript>]
module GoogleMaps =
open WebSharper.JavaScript
open WebSharper.Google.Maps
let mts = new MapTypeStyler()
Hi,
I've been trying to use google maps' style types, and I believe you have an unwanted line in MapTypes.fs at line 26:
If you comment out line 26 and rebuild, clients can use the
MapTypeStyler
type, otherwise there is a compiler error because of the extra constructor definition.Here is some code that currently fails to compile (fixed above):