Google Map With Cjuidialg

Hi

Now I’m doing first project with Yii.

I’d like to use google map for get latitude and longitude and I use extension EGMap.

3318

Untitled.png

I could show map in dialog, but I’ve problems.

1.) My map’s lost when it use with dialog, though I use code


<?php 

                echo CHtml::link('Select Position', '#', array(

                   'onclick'=>'$("#mydialog").dialog("open"); setTimeout( function() {google.maps.event.trigger(map, "resize")}, 1000); return false;',

                ));

        ?>

2.) I’d like search and bring to position. I’m not sure it can use EGMapAutocomplete or not?

If it can use you can explain me or example.

3.) I’d like to bring value of zoom size, latitude and longitude to textfield.

I’ve ever done, but I don’t use Yii.

If you don’t understand me, you can see => 13on.co.nf

Thank for helps.

Regards.