Giter Site home page Giter Site logo

ivorygooglemapbundle's Issues

Composer conflicts when install

Hi,

when I install your bundle, I get:

Problem 1
    - yappabe/google-map-bundle 3.0.0 requires yappabe/google-map dev-master@dev -> satisfiable by yappabe/google-map[dev-master] but these conflict with your requirements or minimum-stability.
    - yappabe/google-map-bundle 3.0.1 requires yappabe/google-map ^1.4 -> satisfiable by yappabe/google-map[1.4.0, 1.4.1, 1.4.2].
    - yappabe/google-map 1.4.0 requires egeloen/json-builder ~1.0 -> satisfiable by egeloen/json-builder[1.0.0, 1.0.1, 1.0.2, 1.0.3].
    - yappabe/google-map 1.4.1 requires egeloen/json-builder ~1.0.0 -> satisfiable by egeloen/json-builder[1.0.0, 1.0.1, 1.0.2, 1.0.3].
    - yappabe/google-map 1.4.2 requires egeloen/json-builder ~1.0.0 -> satisfiable by egeloen/json-builder[1.0.0, 1.0.1, 1.0.2, 1.0.3].
    - Can only install one of: egeloen/json-builder[2.0.1, 1.0.0].
    - Can only install one of: egeloen/json-builder[2.0.1, 1.0.1].
    - Can only install one of: egeloen/json-builder[2.0.1, 1.0.2].
    - Can only install one of: egeloen/json-builder[2.0.1, 1.0.3].
    - yappabe/google-map-bundle 3.0.1 requires egeloen/json-builder 2.0.1 as 1.0.0 -> satisfiable by egeloen/json-builder[2.0.1].
    - Installation request for yappabe/google-map-bundle ^3.0 -> satisfiable by yappabe/google-map-bundle[3.0.0, 3.0.1].

Problem is than your bundle require egeloen/json-builder v2.0.1, but your require also yappable/google-map v1.4 which requires egeloen/json-builder v1.0

Can you fix that??

Tnx

Composer require problem

` Problem 1
- egeloen/google-map-bundle 2.2.1 requires symfony/framework-bundle ~2.1 -> satisfiable by symfony/framework-bundle[2.1.x-dev, 2.2.x-dev, 2.3.x-dev, 2.4.x-dev, 2.5.x-dev, 2.6.x-dev, 2.7.x-dev, 2.8.x-dev, v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.4, v2.3.40, v2.3.41, v2.3.42, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.0-BETA1, v2.4.0-BETA2, v2.4.0-RC1, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.0-BETA1, v2.5.0-BETA2, v2.5.0-RC1, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.0-BETA1, v2.6.0-BETA2, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.0-BETA1, v2.7.0-BETA2, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.0-BETA1, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9] but these conflict with your requirements or minimum-stability.
- egeloen/google-map-bundle 2.2.0 requires symfony/framework-bundle ~2.1 -> satisfiable by symfony/framework-bundle[2.1.x-dev, 2.2.x-dev, 2.3.x-dev, 2.4.x-dev, 2.5.x-dev, 2.6.x-dev, 2.7.x-dev, 2.8.x-dev, v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.4, v2.3.40, v2.3.41, v2.3.42, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.0-BETA1, v2.4.0-BETA2, v2.4.0-RC1, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.0-BETA1, v2.5.0-BETA2, v2.5.0-RC1, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.0-BETA1, v2.6.0-BETA2, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.0-BETA1, v2.7.0-BETA2, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.0-BETA1, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9] but these conflict with your requirements or minimum-stability.
- Installation request for egeloen/google-map-bundle ^2.2 -> satisfiable by egeloen/google-map-bundle[2.2.0, 2.2.1].

`

Add style options for marker cluster

Currently it's impossible to define in config.yml some styles for a marker cluster. The getConfigTreeBuilder() inside Ivory\GoogleMapBundle\DependencyInjection\Configuration.php expects only scalar values for marker_cluster options:

->arrayNode('options')
->useAttributeAsKey('options')
->prototype('scalar')->end()
->end()

In order to enable this functionality of defining styles for marker clusters we have to change the existent code to this one:

->arrayNode('options')
->children()
->scalarNode('gridSize')->end()
->scalarNode('maxZoom')->end()
->scalarNode('zoomOnClick')->end()
->scalarNode('averageCenter')->end()
->scalarNode('minimumClusterSize')->end()
->arrayNode('styles')
->prototype('array')
->children()
->scalarNode('url')->end()
->scalarNode('height')->end()
->scalarNode('width')->end()
->scalarNode('anchor')->end()
->scalarNode('textColor')->end()
->scalarNode('textSize')->end()
->scalarNode('backgroundPosition')->end()
->scalarNode('iconAnchor')->end()
->end()
->end()
->end()
->end()
->end()

The above code provides all options currently available by Google Maps Api

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.