You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/01/02 21:08:59 UTC

[GitHub] borodovisin opened a new issue #9671: Leaflet map with geoJSON doesn't overlap or maybe it isn't supported

borodovisin opened a new issue #9671: Leaflet map with geoJSON doesn't overlap or maybe it isn't supported
URL: https://github.com/apache/incubator-echarts/issues/9671
 
 
   Hello I trying to use leaflet map library, but when define for example a series type like "map" and define for example a world map in geoJSON format the geoJSON map not overlap with leaflet map.
   I use and modify the echarts-leaflet library for that. 
   
   But I want to know if exists a way to add a geoJSON map and use it with leaflet without using the leaflet library for doing the job. I mean not using <code>import L from leaflet</code> and then <code>L.geoJSON();</code>
   
   It is like the geo coordinate system of echarts is not equal to the leaflet coordinate system. I have a solution for that problem but I have to use the echarts-leaflet library and use the L.geoJSON() function. 
   
   I don't know if my doubt is clear. 
   
   I want to define for example a series like this: 
   <code>
   option = {
        series: [{
           type: 'map',
           map: 'anyMapGeoJSON',
        }],
   }
   </code>
   
   and the map generated for that series overlap with the leaflet map.
   
   Right now its like the series generated map is smaller than the leaflet map.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org