We have the same problem. Have you managed to resolve this problem?

Regards,
Dejan

On Sunday, January 6, 2013 5:57:20 AM UTC+1, [email protected] wrote:
>
> I tried to create a *Label Marker* by using *JSNI* to call 
> *google-maps-utility-library-v3 
> 's markerwithlabel.js* . However, I always receive this exception :
>
> com.google.gwt.core.client.JavaScriptException: (TypeError) 
> @com.gwt.map.client.GWTMap::setLabeledMarker(Lcom/google/gwt/maps/client/base/LatLng;Lcom/google/gwt/maps/client/MapImpl;)([JavaScript
>  object(51), JavaScript object(19)]): Object function MarkerLabel_(marker, 
> crossURL, handCursorURL){ ...} has no method 'getSharedCross'
>>
>>
> Here is the JSNI method I have created :
>
>     public final native void setLabeledMarker(LatLng ll,MapImpl myMap)
> /*-{
>    var marker = new $wnd.MarkerWithLabel({
>    position: ll,
>    draggable: true,
>    raiseOnDrag: true,
>    labelContent: "Hello",
>    labelAnchor: new $wnd.google.maps.Point(22, 0),
>    labelClass: "labels", // the CSS class for the label
>    labelStyle: {opacity: 1.0}
>  });
>
>  marker.setMap(myMap); }-*/; 
>
> I'm using Branflake's GWT Map version 
> 3.8.1<https://github.com/branflake2267/GWT-Maps-V3-Api>
>  and google-maps-utility-library-v3 's 
> markerwithlabel.js<http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.7/src/>
>
> Please help to give your advice
>  
>
>>  
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to